This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
stdint.h has yet to appear on VMS.
authorCraig A. Berry <craigberry@mac.com>
Mon, 20 Dec 2010 01:26:28 +0000 (19:26 -0600)
committerCraig A. Berry <craigberry@mac.com>
Mon, 20 Dec 2010 03:58:46 +0000 (21:58 -0600)
Despite the compiler's claiming C99 compliance.  What we probably
really need here is I_STDINT, or perhaps HAVE_INTMAX and
HAVE_UINTMAX, determined by Configure and friends.  But in any case
07208e09d4435b4e72743076e0bc290ef4b34911 broke the build, so this
gets it going again for now.

sv.c

diff --git a/sv.c b/sv.c
index 99433b0..00b99b4 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -33,7 +33,7 @@
 #include "regcomp.h"
 
 #ifndef HAS_C99
-# if __STDC_VERSION__ >= 199901L
+# if __STDC_VERSION__ >= 199901L && !defined(VMS)
 #  define HAS_C99 1
 # endif
 #endif