Преглед изворни кода

Removed extraneous NULL in preproc directive

ichrispa пре 8 година
родитељ
комит
2eee36853c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tools/pyUANamespace/ua_namespace.py

+ 1 - 1
tools/pyUANamespace/ua_namespace.py

@@ -654,7 +654,7 @@ class opcua_namespace():
     header.append('  #include "open62541.h"')
     header.append('  #ifndef NULL')
     header.append('    #define NULL ((void *)0)')
-    header.append('  #endif NULL')
+    header.append('  #endif')
     header.append('#endif')
     header.append('#ifndef UA_ENCODINGOFFSET_BINARY')
     header.append('#define UA_ENCODINGOFFSET_BINARY 2')