summaryrefslogtreecommitdiff
path: root/win32/config_H.bc
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2008-10-07 12:18:11 +0000
committerSteve Hay <SteveHay@planit.com>2008-10-07 12:18:11 +0000
commit83ff24d4e96afd1ea1248746770115bb18c7b35a (patch)
treed262cd5fe7e7b9956c4c7cb67f589a691d82cef2 /win32/config_H.bc
parent92e71c9183a0db74aa4ef4999dac86e2ffadfac4 (diff)
downloadperl-83ff24d4e96afd1ea1248746770115bb18c7b35a.tar.gz
Define HAS_QUAD on Win32 and introduce new value for QUADKIND
where appropriate. This doesn't make much difference on Win32 because IVSIZE is still 4, but access to the appropriate "quad" type is still useful, e.g. for Y2038 support. p4raw-id: //depot/perl@34470
Diffstat (limited to 'win32/config_H.bc')
-rw-r--r--win32/config_H.bc6
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/config_H.bc b/win32/config_H.bc
index 9e15ff3b97..c47f414481 100644
--- a/win32/config_H.bc
+++ b/win32/config_H.bc
@@ -909,9 +909,10 @@
/* HAS_QUAD:
* This symbol, if defined, tells that there's a 64-bit integer type,
* Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
- * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T.
+ * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
+ * or QUAD_IS___INT64.
*/
-/*#define HAS_QUAD /**/
+#define HAS_QUAD /**/
#ifdef HAS_QUAD
# define Quad_t __int64 /**/
# define Uquad_t unsigned __int64 /**/
@@ -920,6 +921,7 @@
# define QUAD_IS_LONG 2
# define QUAD_IS_LONG_LONG 3
# define QUAD_IS_INT64_T 4
+# define QUAD_IS___INT64 5
#endif
/* OSNAME: