Print this page
1059 curses.h conflicts with stdbool.h
*** 13,24 ****
*/
#ifndef _CURSES_H
#define _CURSES_H
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
#ifndef WINDOW
--- 13,22 ----
*** 26,36 ****
#include <stdio.h>
#include <sgtty.h>
#undef HZ /* in case they've included <sys/param.h> */
! #if !(defined(__cplusplus) && defined(_BOOL))
#define bool char
#endif
#define reg register
--- 24,34 ----
#include <stdio.h>
#include <sgtty.h>
#undef HZ /* in case they've included <sys/param.h> */
! #if !(defined(__cplusplus) && defined(bool))
#define bool char
#endif
#define reg register