浏览代码

fix client amalgamation

Julius Pfrommer 9 年之前
父节点
当前提交
d4c98b6c4e
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 10 10
      examples/client.c

+ 10 - 10
examples/client.c

@@ -1,14 +1,14 @@
-#ifdef NOT_AMALGATED
-    #include "ua_types.h"
-    #include "ua_client.h"
-    #include "ua_nodeids.h"
-    #include "networklayer_tcp.h"
-    #include "logger_stdout.h"
-    #include "ua_types_encoding_binary.h"
+#ifdef UA_AMALGAMATE
+# include "open62541.h"
+# include <string.h>
+# include <stdlib.h>
 #else
-    #include "open62541.h"
-    #include <string.h>
-    #include <stdlib.h>
+# include "ua_types.h"
+# include "ua_client.h"
+# include "ua_nodeids.h"
+# include "networklayer_tcp.h"
+# include "logger_stdout.h"
+# include "ua_types_encoding_binary.h"
 #endif
 
 #include <stdio.h>