Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
6db3519c41
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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>