version 1.1.1.1, 2012/02/21 16:32:16
|
version 1.1.1.2, 2012/10/09 09:36:45
|
Line 40
|
Line 40
|
#include <sys/int_types.h> |
#include <sys/int_types.h> |
#else |
#else |
#if defined(_WIN32) && defined(_MSC_VER) |
#if defined(_WIN32) && defined(_MSC_VER) |
// for MSVC 6.0 | // for MSVC <= 9 (MSVC10 and MinGW provide <stdint.h>) |
typedef __int64 int64_t; |
typedef __int64 int64_t; |
typedef unsigned __int64 uint64_t; |
typedef unsigned __int64 uint64_t; |
#else |
#else |
Line 59 typedef unsigned long long uint64_t;
|
Line 59 typedef unsigned long long uint64_t;
|
#endif // HAVE_STDINT_H |
#endif // HAVE_STDINT_H |
#endif // HAVE_INTTYPES_H |
#endif // HAVE_INTTYPES_H |
|
|
#ifdef _WIN32 | #if defined(_WIN32) && !defined(PRId64) |
// for MSVCRT.DLL (used by both MSVC 6.0 and MinGW) | // for MSVC (MinGW provides <inttypes.h>) |
#define PRId64 "I64d" |
#define PRId64 "I64d" |
#define PRIu64 "I64u" |
#define PRIu64 "I64u" |
#define PRIx64 "I64x" |
#define PRIx64 "I64x" |
#endif // _WIN32 | #endif // _WIN32 && !PRId64 |
|
|
// If macros not defined in inttypes.h, fix here. Default is GCC |
// If macros not defined in inttypes.h, fix here. Default is GCC |
// style |
// style |