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:
parent
04f1c1422b
commit
f94d2b295f
@ -26,7 +26,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined (_WIN32) && !defined (__GNUC__)
|
||||||
typedef __int64 dc_ticks_t;
|
typedef __int64 dc_ticks_t;
|
||||||
#else
|
#else
|
||||||
typedef long long int dc_ticks_t;
|
typedef long long int dc_ticks_t;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user