Disable use of weak in threads_posix.h on Cygwin
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 9 Jun 2016 18:21:35 +0000 (18:21 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Fri, 15 Jul 2016 18:46:54 +0000 (19:46 +0100)
commitc7151401e09b677559b5f280c2b4e8b0b8d33a41
tree0749f8e6c166a33f354b544513b169cad8c345f2
parent7d8edbaee72969355dc3519b91671ff930e01b2e
Disable use of weak in threads_posix.h on Cygwin

Weak doesn't work the same on PE/COFF as on ELF, they are only weak
references.  Specifically, since nothing else pulls in the object which
contains pthread_mutexattr_init() (and coming from the C library, that is
the only thing that object contains), means that it ends up as 0

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
include/c11/threads_posix.h