summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-10-18 22:28:37 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-10-19 09:02:35 -0400
commit996959af621f451e87ead34f1099c0ad55191e2a (patch)
tree5412b7e540d66c70face25ff9b746261aeeba8f7 /perl.h
parenta1115378806931e7274378ca670c34bdd6af0de2 (diff)
downloadperl-996959af621f451e87ead34f1099c0ad55191e2a.tar.gz
IRIX cc -c99 does -D__c99 but none of the other C99 macros.
Admittedly this change could make C99-ness visible also on platforms beyond IRIX, but that should be a good thing.
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 620028d0ce..9b09bff71b 100644
--- a/perl.h
+++ b/perl.h
@@ -35,7 +35,7 @@
* NOTE 2: headers lie. Do not expect that if HAS_C99 gets to be true,
* all the C99 features are there and are correct. */
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
- defined(_STDC_C99)
+ defined(_STDC_C99) || defined(__c99)
# define HAS_C99 1
#endif