Readd G3D-v8.0_hotfix9.diff that slipped through thanks to .gitignore

This commit is contained in:
leak
2014-07-17 20:13:32 +02:00
parent 7977a06fe5
commit 784676859b

View File

@@ -0,0 +1,13 @@
diff --git a/dep/g3dlite/include/G3D/g3dmath.h b/dep/g3dlite/include/G3D/g3dmath.h
index b0c98ae..4be723c 100644
--- a/dep/g3dlite/include/G3D/g3dmath.h
+++ b/dep/g3dlite/include/G3D/g3dmath.h
@@ -30,7 +30,7 @@
#include <limits>
#include <stdlib.h>
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && (_MSC_VER < 1000)
// Visual Studio is missing inttypes.h
# ifndef PRId64
# define PRId64 "I64d"