summaryrefslogtreecommitdiff
path: root/games/mame/gcc471.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/mame/gcc471.patch')
-rw-r--r--games/mame/gcc471.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/mame/gcc471.patch b/games/mame/gcc471.patch
new file mode 100644
index 0000000000..476336fffa
--- /dev/null
+++ b/games/mame/gcc471.patch
@@ -0,0 +1,11 @@
+--- mame-0.149/src/osd/osdcomm.h 2013-01-11 09:32:48.000000000 -0200
++++ mame-0.149_patched/src/osd/osdcomm.h 2013-06-13 23:42:19.963506085 -0300
+@@ -66,7 +66,7 @@
+ #define ATTR_MALLOC __attribute__((malloc))
+ #define ATTR_PURE __attribute__((pure))
+ #define ATTR_CONST __attribute__((const))
+-#define ATTR_FORCE_INLINE __attribute__((always_inline))
++#define ATTR_FORCE_INLINE
+ #define ATTR_NONNULL(...) __attribute__((nonnull(__VA_ARGS__)))
+ /* not supported in GCC prior to 4.4.x */
+ #if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)