From b1c011dc3a1fd4662a219a9591314d12964a5d1b Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 1 Feb 2022 19:50:45 -0700 Subject: Remove PERL_BOOL_AS_CHAR uses; always define HAS_BOOL Now that C99 is required, bool is always defined, so HAS_BOOL should also always be defined. PERL_BOOL_AS_CHAR was used to workaround problems when no bool type existed, so it is obsolete, and in fact perl won't compile if PERL_BOOL_AS_CHAR is #defined. So remove it completely from being looked at. --- os2/os2ish.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'os2') diff --git a/os2/os2ish.h b/os2/os2ish.h index 1acc2765c2..0f80a4ddca 100644 --- a/os2/os2ish.h +++ b/os2/os2ish.h @@ -418,14 +418,6 @@ 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 - #include /* for _fd_flags() prototype */ static inline bool -- cgit v1.2.1