summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
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:07 (GMT)
commitd5d4c698e90ed52fbfd8accc21d7a7b4afde7cf4 (patch)
treee13b65f2ec80a50b670c56477c755bdcd8d270d1 /Source/CursesDialog
parent51f5ed0a7a8d34a1b689fab1e39dc6aaff5edc3f (diff)
parentd91d9ec431c9c8e728367f8c7b43ead9e3fbb60f (diff)
downloadCMake-d5d4c698e90ed52fbfd8accc21d7a7b4afde7cf4.zip
CMake-d5d4c698e90ed52fbfd8accc21d7a7b4afde7cf4.tar.gz
CMake-d5d4c698e90ed52fbfd8accc21d7a7b4afde7cf4.tar.bz2
Merge topic 'ccmake-aix-curses'
d91d9ec431 ccmake: Restore compilation with AIX curses.h Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8001
Diffstat (limited to 'Source/CursesDialog')
-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>