aboutsummaryrefslogtreecommitdiff
path: root/graphics/Hermes/files/patch-src-HeadMMX.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/Hermes/files/patch-src-HeadMMX.h')
-rw-r--r--graphics/Hermes/files/patch-src-HeadMMX.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/Hermes/files/patch-src-HeadMMX.h b/graphics/Hermes/files/patch-src-HeadMMX.h
new file mode 100644
index 000000000000..fa7a76eda017
--- /dev/null
+++ b/graphics/Hermes/files/patch-src-HeadMMX.h
@@ -0,0 +1,11 @@
+--- src/HeadMMX.h.orig Thu Aug 30 19:26:59 2007
++++ src/HeadMMX.h Thu Aug 30 19:27:59 2007
+@@ -51,7 +51,7 @@
+
+ /* Fix the underscore business with ELF compilers */
+
+-#if defined(__ELF__) && defined(__GNUC__)
++#if defined(__ELF__) && defined(__GNUC__) && __GNUC__ < 4
+ #ifdef __cplusplus
+ extern "C" {
+ #endif