diff options
Diffstat (limited to 'os2/os2ish.h')
-rw-r--r-- | os2/os2ish.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/os2/os2ish.h b/os2/os2ish.h index 96c0273a72..a60e573262 100644 --- a/os2/os2ish.h +++ b/os2/os2ish.h @@ -374,6 +374,14 @@ void *emx_realloc (void *, size_t); #define PERLIO_IS_BINMODE_FD(fd) _PERLIO_IS_BINMODE_FD(fd) +#ifdef __GNUG__ +# define HAS_BOOL +#endif +#ifndef HAS_BOOL +# define bool char +# define HAS_BOOL 1 +#endif + static inline bool _PERLIO_IS_BINMODE_FD(int fd) { |