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

@@ -13,12 +13,10 @@
  */
 
 #ifndef _CURSES_H
 #define _CURSES_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 #ifndef WINDOW

@@ -26,11 +24,11 @@
 #include        <stdio.h>
 #include        <sgtty.h>
 
 #undef          HZ              /* in case they've included <sys/param.h> */
 
-#if !(defined(__cplusplus) && defined(_BOOL))
+#if !(defined(__cplusplus) && defined(bool))
 #define bool    char
 #endif
 
 #define reg     register