diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-08-09 20:35:16 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-10-26 06:22:24 +0800 |
commit | e919ebb29ac9f5270cd7176a39d0d3b4cea875a9 (patch) | |
tree | ed233c150206f2eeda6a72996a019e8aab332fda /src | |
parent | mythread.h: Fix typo error in Vista threads mythread_once(). (diff) | |
download | xz-e919ebb29ac9f5270cd7176a39d0d3b4cea875a9.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 'src')
0 files changed, 0 insertions, 0 deletions