diff options
author | rcombs <rcombs@rcombs.me> | 2022-03-28 22:03:08 -0500 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2022-10-06 03:26:13 +0000 |
commit | fbdd06c3aba7cd559ca6307d91ad08611e2da805 (patch) | |
tree | 096ae93824dc29e1c51c0a66a647ccd17bfddd8a | |
parent | f727ab78cac3cd5af6a8c33be47a7360ff8a1d8b (diff) | |
download | gcompat-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)
-rw-r--r-- | libgcompat/misc.c | 2 |
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; |