Commit 37b42888 authored by Rafaël Carré's avatar Rafaël Carré

contrib: gme: fix android build

gcc doesn't understand __restrict, use __restrict__
might break MSVC++ compatibility
parent 7046b612
--- game-music-emu/gme/Blip_Buffer.h.orig 2011-12-25 22:27:15.546377001 -0500
+++ game-music-emu/gme/Blip_Buffer.h 2011-12-25 22:27:37.146377002 -0500
@@ -268,7 +268,7 @@
};
#if defined (__GNUC__) || _MSC_VER >= 1100
- #define BLIP_RESTRICT __restrict
+ #define BLIP_RESTRICT __restrict__
#else
#define BLIP_RESTRICT
#endif
......@@ -13,6 +13,7 @@ $(TARBALLS)/game-music-emu-$(GME_VERSION).tar.bz2:
game-music-emu: game-music-emu-$(GME_VERSION).tar.bz2 .sum-gme
$(UNPACK)
$(APPLY) $(SRC)/gme/gme-static.patch
$(APPLY) $(SRC)/gme/android.patch
$(MOVE)
.gme: game-music-emu toolchain.cmake
......
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