瀏覽代碼

Merge topic 'ccmake-aix-curses' into release-3.25

d91d9ec431 ccmake: Restore compilation with AIX curses.h

Acked-by: Kitware Robot <[email protected]>
Acked-by: buildbot <[email protected]>
Merge-request: !8001
Brad King 2 年之前
父節點
當前提交
6db3519c41
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Source/CursesDialog/form/form.h

+ 3 - 0
Source/CursesDialog/form/form.h

@@ -54,6 +54,9 @@
 #  if defined(__hpux) && !defined(HAVE__XOPEN_SOURCE_EXTENDED)
 #   undef _XOPEN_SOURCE_EXTENDED
 #  endif
+   /* Some curses/term headers define lower-case macros that
+      conflict with our source code.  Undefine them. */
+#  undef newline
 # endif
 
 #include <eti.h>