From c9a1310e11129ead8e9607c9d813d4a5fa18778b Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 14 Dec 2016 22:46:47 -0600 Subject: [PATCH] Fix an issue with MSVC int64 type difference --- src/ox/std/types.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ox/std/types.hpp b/src/ox/std/types.hpp index 1c16af4ec..d0a824843 100644 --- a/src/ox/std/types.hpp +++ b/src/ox/std/types.hpp @@ -14,7 +14,11 @@ typedef unsigned short uint16_t; typedef int int32_t; typedef unsigned int uint32_t; typedef unsigned uint_t; +#ifdef _MSC_VER +typedef long long int64_t; +#else typedef long int64_t; +#endif typedef unsigned long long uint64_t; namespace ox {