Browse Source

fix client amalgamation

Julius Pfrommer 9 years ago
parent
commit
d4c98b6c4e
1 changed files with 10 additions and 10 deletions
  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>