瀏覽代碼

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')