소스 검색

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 3 년 전
부모
커밋
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>