diff options
| author | Guido van Rossum <guido@python.org> | 1998-08-25 16:07:15 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1998-08-25 16:07:15 +0000 |
| commit | 4ddd47c3ca5ec8f7ad4f069db58dbf885d2d4436 (patch) | |
| tree | 2a80f92024f40dfc1de278f7f0acd3c21a04a0f4 /PC | |
| parent | 170cae34ad205e804e220aa53e7db45c9a43ad3d (diff) | |
| download | cpython-4ddd47c3ca5ec8f7ad4f069db58dbf885d2d4436.tar.gz | |
Patch by Mark Hammond to support 64-bit ints on MS platforms.
The MS compiler doesn't call it 'long long', it uses __int64,
so a new #define, LONG_LONG, has been added and all occurrences
of 'long long' are replaced with it.
Diffstat (limited to 'PC')
| -rw-r--r-- | PC/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h index 0bc8cc5ebe..495b98574f 100644 --- a/PC/config.h +++ b/PC/config.h @@ -85,6 +85,8 @@ typedef int pid_t; #define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE #endif +#define HAVE_LONG_LONG 1 +#define LONG_LONG __int64 #endif /* _MSC_VER && > 850 */ #if defined(_MSC_VER) && _MSC_VER <= 850 |
