diff options
author | Karl Williamson <khw@cpan.org> | 2022-02-01 19:50:45 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-02-06 12:16:54 -0700 |
commit | b1c011dc3a1fd4662a219a9591314d12964a5d1b (patch) | |
tree | 30c8170a6e2352e011c75a3284db36e3732c0bc0 /os2 | |
parent | 18cbf839872f70dd53e87fcb7f8a3be570a69669 (diff) | |
download | perl-b1c011dc3a1fd4662a219a9591314d12964a5d1b.tar.gz |
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.
Diffstat (limited to 'os2')
-rw-r--r-- | os2/os2ish.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 <emx/io.h> /* for _fd_flags() prototype */ static inline bool |