ソースを参照

fixing mingw build

unknown 10 年 前
コミット
4dea9bb176
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      src/ua_util.h

+ 2 - 0
src/ua_util.h

@@ -10,6 +10,8 @@
 #endif
 #endif
 #ifndef _POSIX_SOURCE
 #ifndef _POSIX_SOURCE
 # define _POSIX_SOURCE
 # define _POSIX_SOURCE
+#endif
+#ifndef _POSIX_C_SOURCE
 # define _POSIX_C_SOURCE 199309L
 # define _POSIX_C_SOURCE 199309L
 #endif
 #endif
 #ifndef _BSD_SOURCE
 #ifndef _BSD_SOURCE