From: Jarkko Hietaniemi Date: Wed, 29 May 2002 12:31:35 +0000 (+0000) Subject: OS/2: more missing definitions. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9c75282ff8f4361bf940245aa2513c77d38c5f5c;p=p5sagit%2Fp5-mst-13.2.git OS/2: more missing definitions. p4raw-id: //depot/perl@16856 --- diff --git a/os2/os2ish.h b/os2/os2ish.h index 96c0273..a60e573 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) {