aboutsummaryrefslogtreecommitdiff
path: root/lib/mprintf.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-21 06:58:12 +0000
committerYang Tse <yangsita@gmail.com>2008-08-21 06:58:12 +0000
commit4dbfc91e2b69497ac4dfc78e88e76c4f98633ad2 (patch)
tree9c21429f526b9cd0552b6352a2bbf2a564f8233a /lib/mprintf.c
parent95cef39defe9af5b8cdb78fa9d0e543dae0ed5dd (diff)
MSVC's __int64 data type is only available when _INTEGRAL_MAX_BITS >= 64
Diffstat (limited to 'lib/mprintf.c')
-rw-r--r--lib/mprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mprintf.c b/lib/mprintf.c
index a358cc10a..93982a5b1 100644
--- a/lib/mprintf.c
+++ b/lib/mprintf.c
@@ -65,7 +65,7 @@
# define LONG_LONG_TYPE long long
# define HAVE_LONG_LONG_TYPE
#else
-# if defined(_MSC_VER) && (_MSC_VER >= 900)
+# if defined(_MSC_VER) && (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
# define LONG_LONG_TYPE __int64
# define HAVE_LONG_LONG_TYPE
# else