From 996959af621f451e87ead34f1099c0ad55191e2a Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sun, 18 Oct 2015 22:28:37 -0400 Subject: [PATCH] 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. --- perl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl.h b/perl.h index 620028d..9b09bff 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 -- 1.8.3.1