summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-01-18 12:37:26 +0000
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2017-01-25 18:02:20 +0000
commit8298454cd9bef3c23473ec307d99840429f2df55 (patch)
tree6bc92e4ddac34acfd1b3732f2158a0cf87bbafe0 /perl.h
parent32207c637b216a1dfa7317d111af89f149743ff3 (diff)
downloadperl-8298454cd9bef3c23473ec307d99840429f2df55.tar.gz
Use cBOOL() instead of ? TRUE : FALSE
Except under cpan/ and dist/
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index d832db4531..867c30050d 100644
--- a/perl.h
+++ b/perl.h
@@ -3793,7 +3793,7 @@ EXTERN_C int perl_tsa_mutex_unlock(perl_mutex* mutex)
# define USEMYBINMODE /**/
# include <io.h> /* for setmode() prototype */
# define my_binmode(fp, iotype, mode) \
- (PerlLIO_setmode(fileno(fp), mode) != -1 ? TRUE : FALSE)
+ cBOOL(PerlLIO_setmode(fileno(fp), mode) != -1)
#endif
#ifdef __CYGWIN__