Commit 31e51ce2 authored by Rafaël Carré's avatar Rafaël Carré

contribs: projectM: fix win64 build

parent 74f9c957
......@@ -17,6 +17,9 @@ $(TARBALLS)/projectM-$(PROJECTM_VERSION)-Source.tar.gz:
projectM: projectM-$(PROJECTM_VERSION)-Source.tar.gz .sum-projectM
$(UNPACK)
ifdef HAVE_WIN64
$(APPLY) $(SRC)/projectM/win64.patch
endif
ifdef HAVE_WIN32
$(APPLY) $(SRC)/projectM/win32.patch
endif
......
--- 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment