This wasn't having the intended effect because after we #include config.h and #undef ENABLE_PTHREAD_SUPPORT we then #include other headers that also #include config.h. I've moved this lower so that it has the effect that appears to be intended but the correct answer may be to make it work but this will require #including pthread.h as the build fails with -Werror when pthread functions are called.
3.5 KiB
3.5 KiB