Files
cmake/Source/CursesDialog/cmCursesStandardIncludes.h
Brad King de91859711 ccmake: Suppress curses macros on Solaris that conflict with C++ std APIs
Also revert previous workarounds from

* commit 3b7be02480 (ccmake: Fix compilation with ncurses on Solaris,
                     2018-03-20, v3.12.0-rc1~335^2), and
* commit 572e5146f8 (define hacks and such for the dec compiler,
                     2001-11-20, v2.4.0~6229)
2025-12-17 10:55:10 -05:00

20 lines
486 B
C

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
#if defined(__hpux)
# define _BOOL_DEFINED
# include <sys/time.h>
#endif
// Tell curses headers on Solaris to not define macros
// that conflict with C++ standard library interfaces.
#if defined(__sun__)
# define NOMACROS
# define NCURSES_NOMACROS
#endif
#include <form.h>