--- projectM/glew.h.orig	2011-11-06 20:20:42.573445229 -0500
+++ projectM/glew.h	2011-11-06 20:21:25.349657365 -0500
@@ -150,7 +150,8 @@
 #endif
 #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_)
 #  ifdef _WIN64
-typedef __int64 ptrdiff_t;
+#include <inttypes.h>
+typedef int64_t ptrdiff_t;
 #  else
 typedef _W64 int ptrdiff_t;
 #  endif
