summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-12-08 12:57:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-12-08 12:58:06 (GMT)
commit6db3519c41e8d58401607be1020a9d4aab645c39 (patch)
tree45faa64d4500674b5c0f8cf1b043007b5c71cd84
parent8bf724f756d9c62d1d2234c140420f6410dc38ca (diff)
parentd91d9ec431c9c8e728367f8c7b43ead9e3fbb60f (diff)
downloadCMake-6db3519c41e8d58401607be1020a9d4aab645c39.zip
CMake-6db3519c41e8d58401607be1020a9d4aab645c39.tar.gz
CMake-6db3519c41e8d58401607be1020a9d4aab645c39.tar.bz2
Merge topic 'ccmake-aix-curses' into release-3.25
d91d9ec431 ccmake: Restore compilation with AIX curses.h Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8001
-rw-r--r--Source/CursesDialog/form/form.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CursesDialog/form/form.h b/Source/CursesDialog/form/form.h
index 39ed75a..b590c97 100644
--- a/Source/CursesDialog/form/form.h
+++ b/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>