Skip to content

Instantly share code, notes, and snippets.

@celeron55
Created December 2, 2012 13:39
Show Gist options
  • Save celeron55/4188723 to your computer and use it in GitHub Desktop.
Save celeron55/4188723 to your computer and use it in GitHub Desktop.
diff --git a/src/irrlichttypes.h b/src/irrlichttypes.h
index 8217729..c7d1233 100644
--- a/src/irrlichttypes.h
+++ b/src/irrlichttypes.h
@@ -24,14 +24,15 @@
using namespace irr;
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__BORLANDC__)
// Windows
- typedef unsigned long long u64;
+ typedef __int64 s64;
+ typedef unsigned __int64 u64;
#else
// Posix
#include <stdint.h>
typedef uint64_t u64;
- //typedef unsigned long long u64;
+ typedef int64_t s64;
#endif
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment