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

@@ -22,12 +22,10 @@
 /*
  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 /*
  * curses.h
  *
  * XCurses Library
  *

@@ -62,11 +60,11 @@
 #endif
 
 #define ERR                     EOF
 #define OK                      0
 
-#if !(defined(__cplusplus) && defined(_BOOL))
+#if !(defined(__cplusplus) && defined(bool))
 typedef short bool;
 #endif
 
 #define TRUE                    1
 #define FALSE                   0