summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2022-03-28 22:03:08 -0500
committerA. Wilcox <awilcox@wilcox-tech.com>2022-10-06 03:26:13 +0000
commitfbdd06c3aba7cd559ca6307d91ad08611e2da805 (patch)
tree096ae93824dc29e1c51c0a66a647ccd17bfddd8a /libgcompat
parentf727ab78cac3cd5af6a8c33be47a7360ff8a1d8b (diff)
downloadgcompat-fbdd06c3aba7cd559ca6307d91ad08611e2da805.tar.gz
gcompat-fbdd06c3aba7cd559ca6307d91ad08611e2da805.tar.bz2
gcompat-fbdd06c3aba7cd559ca6307d91ad08611e2da805.tar.xz
gcompat-fbdd06c3aba7cd559ca6307d91ad08611e2da805.zip
misc: add __libc_single_threaded
We'll just say we're always multi-threaded (same as glibc does in duplicate copies of itself loaded into the same process via dlmopen)
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgcompat/misc.c b/libgcompat/misc.c
index 0677550..338e82e 100644
--- a/libgcompat/misc.c
+++ b/libgcompat/misc.c
@@ -33,3 +33,5 @@ unsigned int gnu_dev_minor(dev_t dev)
}
void *__libc_stack_end = NULL;
+
+char __libc_single_threaded = 0;