Fix the 64bit integer type for the mingw compiler.

The mingw native 64bit integer type is long long. The msvc __int64 type
is supported for compatibility reasons, but requires including one of
the standard C header files.
This commit is contained in:
Jef Driesen 2010-05-06 08:35:45 +00:00
parent 04f1c1422b
commit f94d2b295f

View File

@ -26,7 +26,7 @@
extern "C" {
#endif /* __cplusplus */
#ifdef _WIN32
#if defined (_WIN32) && !defined (__GNUC__)
typedef __int64 dc_ticks_t;
#else
typedef long long int dc_ticks_t;