aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-08-09 20:35:16 +0800
committerJia Tan <jiat0218@gmail.com>2023-08-09 20:35:16 +0800
commitde574404c4c2f87aca049f232c38526e3ce092aa (patch)
tree0d00acb0e9a0627a3741c2d2b1382c19f5880710 /CMakeLists.txt
parentmythread.h: Fix typo error in Vista threads mythread_once(). (diff)
downloadxz-de574404c4c2f87aca049f232c38526e3ce092aa.tar.xz
Build: Conditionally allow win95 threads and --enable-small.
When the compiler supports __attribute__((__constructor__)) mythread_once() is never used, even with --enable-small. A configuration with win95 threads and --enable-small will compile and be thread safe so it can be allowed. This isn't a very common configuration since MSVC does not support __attribute__((__constructor__)), but MINGW32 and CLANG32 environments for MSYS2 can use win95 threads and have __attribute__((__constructor__)) support.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions