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 /caretx.c | |
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 'caretx.c')
-rw-r--r-- | caretx.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -40,12 +40,6 @@ # include <mach-o/dyld.h> #endif -/* Note: Functions in this file must not have bool parameters. When - PERL_BOOL_AS_CHAR is #defined, mach-o/dyld.h overrides it in this file - by #including stdbool.h, so the function parameters here would conflict - with those in proto.h. -*/ - void Perl_set_caret_X(pTHX) { GV* tmpgv = gv_fetchpvs("\030", GV_ADD|GV_NOTQUAL, SVt_PV); /* $^X */ |