Commit 52d45ab6 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

contrib: gme: fix android build

gcc doesn't understand __restrict, use __restrict__
might break MSVC++ compatibility
(cherry picked from commit 37b428889762b86e3ab9afed4367e9a8882b87e2)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent da2bc8fd
--- 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