summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-06 16:55:45 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-06 16:55:45 +0000
commitb7c82df9d191173c7307ea4909787c2bf0058fe6 (patch)
tree9d88d96872dd8513a5eef9c8aa574a4ae6fe4eb8 /win32
parent07270b1a2d3e1f5827dc39ce1cef9b7148db112b (diff)
downloadperl-b7c82df9d191173c7307ea4909787c2bf0058fe6.tar.gz
some versions of mingw32 have __int64, define iff it isn't
p4raw-id: //depot/perl@4305
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 79926acb9d..fa9b127518 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -29,7 +29,9 @@
#endif
#ifdef __GNUC__
-typedef long long __int64;
+# ifndef __int64 /* some versions seem to #define it already */
+# define __int64 long long
+# endif
# define Win32_Winsock
/* GCC does not do __declspec() - render it a nop
* and turn on options to avoid importing data