1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/Hermes/files/patch-src-HeadX86.h
Sergey Matveychuk 12372ed189 - Fix build with gcc 4.x
PR:		ports/115647 (based on)
Submitted by:	Oliver Brandmueller <ob@e-gitt.net>
2007-08-30 15:57:05 +00:00

12 lines
308 B
C

--- src/HeadX86.h.orig Thu Aug 30 19:28:22 2007
+++ src/HeadX86.h Thu Aug 30 19:28:44 2007
@@ -83,7 +83,7 @@
/* Now fix up the ELF underscore problem */
-#if defined(__ELF__) && defined(__GNUC__)
+#if defined(__ELF__) && defined(__GNUC__) && __GNUC__ < 4
#ifdef __cplusplus
extern "C" {
#endif