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

@@ -25,12 +25,10 @@
  */
 
 #ifndef _CURSES_H
 #define _CURSES_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 /*
  * curses.h
  *
  * XCurses Library
  *

@@ -58,11 +56,11 @@
 #endif
 
 #define ERR                     EOF
 #define OK                      0
 
-#if !(defined(__cplusplus) && defined(_BOOL))
+#if !(defined(__cplusplus) && defined(bool))
 #ifndef _BOOL_DEFINED
 typedef short   bool;
 #define _BOOL_DEFINED
 #endif
 #endif