Print this page
1059 curses.h conflicts with stdbool.h

*** 25,36 **** */ #ifndef _CURSES_H #define _CURSES_H - #pragma ident "%Z%%M% %I% %E% SMI" - /* * curses.h * * XCurses Library * --- 25,34 ----
*** 58,68 **** #endif #define ERR EOF #define OK 0 ! #if !(defined(__cplusplus) && defined(_BOOL)) #ifndef _BOOL_DEFINED typedef short bool; #define _BOOL_DEFINED #endif #endif --- 56,66 ---- #endif #define ERR EOF #define OK 0 ! #if !(defined(__cplusplus) && defined(bool)) #ifndef _BOOL_DEFINED typedef short bool; #define _BOOL_DEFINED #endif #endif