--- a/include/common.h Sun May 31 16:53:05 2009 +0200
+++ b/include/common.h Sun May 31 23:06:03 2009 +0200
@@ -38,6 +38,24 @@
using namespace std;
+#ifndef MSVC
+# include <stdint.h>
+#else
+#ifndef _SDL_config_win32_h
+/* these stdint.h typedefs are not available in MSVC
+ * but are defined in SDL_config_win32.h */
+typedef __int8 int8_t;
+typedef __int16 int16_t;
+typedef __int32 int32_t;
+typedef __int64 int64_t;
+typedef unsigned __int8 uint8_t;
+typedef unsigned __int16 uint16_t;
+typedef unsigned __int32 uint32_t;
+typedef unsigned __int64 uint64_t;
+#endif
+#endif
+
+
#ifdef PYRIT_DOUBLE
# define Float double
# define Eps DBL_EPSILON