commit | a72d720b8a71bad8df78cb4d7a98c24bf1574777 | [log] [tgz] |
---|---|---|
author | Kirill Makurin <maiddaisuki@outlook.com> | Fri Jun 06 18:26:24 2025 +0900 |
committer | LIU Hao <lh_mouse@126.com> | Wed Jun 11 22:46:10 2025 +0800 |
tree | 55859a2cd9d52ad570c3f9c77d2cb3d0af9e24a8 | |
parent | b45abfec4e116b33620de597b99b1f0af3ab6a6a [diff] |
winpthreads: do not expose IN_WINPTHREAD in public header files When building winpthreads, define WINPTHREAD_API in config.h instead of public pthread_compat.h. Definition of WINPTHREAD_API in pthread_compat.h will only be used by client code. Note that IN_WINPTHREAD is still defined. It is checked for in mingw-w64's time.h. Signed-off-by: Kirill Makurin <maiddaisuki@outlook.com> Signed-off-by: LIU Hao <lh_mouse@126.com>