https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117834
--- Comment #3 from Gleb Mazovetskiy <glex.spb at gmail dot com> --- Note that for OSX 10.4 (aka darwin8) `PTHREAD_RWLOCK_INITIALIZER` can be defined like this: #define PTHREAD_RWLOCK_INITIALIZER {_PTHREAD_RWLOCK_SIG_init, {0}}