ソースを参照

add a define for multithreading

Julius Pfrommer 9 年 前
コミット
6b52e3c5dc
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1 0
      examples/server.c

+ 1 - 0
examples/server.c

@@ -24,6 +24,7 @@
 # include <unistd.h> //access
 #endif
 
+#define __USE_XOPEN2K
 #ifdef UA_MULTITHREADING
 # include <pthread.h>
 #endif