summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2013-09-18 23:56:21 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2013-09-18 23:56:21 +0100
commitcb4b14d5c425a0b3255e944e8aba8616aa2cf229 (patch)
treeba09dafbb206892b4e4a6f58ae31c248553e73af
parent449287ba99a5042be3f0076c28f84c30a264037d (diff)
downloadperl-cb4b14d5c425a0b3255e944e8aba8616aa2cf229.tar.gz
Fix the VC6 build on Windows following commit e25d460c74
As noted in commit 38aa66aabf, VC6 on Windows does not support the 64-bit-int build option, and likewise is broken if we don't undef HAS_QUAD in the core.
-rw-r--r--perl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index ca80f536ed..e61cb3a425 100644
--- a/perl.h
+++ b/perl.h
@@ -1610,6 +1610,9 @@ typedef UVTYPE UV;
breakage on CPAN for too little gain. (See RT #119753)
However, we do need HAS_QUAD in the core for use by the drand48 code. */
# undef HAS_QUAD
+#elif defined(_MSC_VER) && _MSC_VER < 1300
+/* Undef HAS_QUAD in core for Win32 VC6 because it has poor __int64 support. */
+# undef HAS_QUAD
#endif
# endif
#endif