mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Also revert previous workarounds from * commit3b7be02480(ccmake: Fix compilation with ncurses on Solaris, 2018-03-20, v3.12.0-rc1~335^2), and * commit572e5146f8(define hacks and such for the dec compiler, 2001-11-20, v2.4.0~6229)
20 lines
486 B
C
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>
|