Преглед изворни кода

workaround for pthreads/W32

Nils Durner пре 17 година
родитељ
комит
570ae1e73f
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/include/platform.h

+ 2 - 0
src/include/platform.h

@@ -53,7 +53,9 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <signal.h>
+#undef HAVE_CONFIG_H
 #include <pthread.h>
+#define HAVE_CONFIG_H
 
 /* different OSes have fd_set in
    a broad range of header files;