浏览代码

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