src/Main/bootstrap.cxx: Olaf Flebbe: Appears to be requierd for
static linkage and pthreadswin32.
#ifdef HAVE_WINDOWS_H
# include <windows.h>
# include <float.h>
+# include <pthread.h>
#endif
#include "fg_os.hxx"
// Main entry point; catch any exceptions that have made it this far.
int main ( int argc, char **argv ) {
+#ifdef PTW32_STATIC_LIB
+ // Initialise static pthread win32 lib
+ pthread_win32_process_attach_np ();
+#endif
_bootstrap_OSInit = 0;
#if defined(__linux__) && defined(__i386__)