1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
freebsd-ports/emulators/uae/files/patch-src+include+sysdeps.h
Alexey Dokuchaev d3dae2133e Unbreak with recent GCC.
Reported by:	kris
Approved by:	portmgr (krion), fjoe (mentor, implicit), maintainer
2004-09-30 18:14:15 +00:00

21 lines
672 B
C

--- src/include/sysdeps.h.orig Mon Nov 19 23:58:46 2001
+++ src/include/sysdeps.h Thu Sep 30 16:59:24 2004
@@ -103,12 +103,12 @@
};
#endif
-#if defined(__GNUC__) && defined(AMIGA)
-/* gcc on the amiga need that __attribute((regparm)) must */
-/* be defined in function prototypes as well as in */
-/* function definitions ! */
+#if defined(__GNUC__)
+/* recent gcc needs that __attribute((regparm)) must */
+/* be defined in function prototypes as well as in */
+/* function definitions ! */
#define REGPARAM2 REGPARAM
-#else /* not(GCC & AMIGA) */
+#else /* not GCC */
#define REGPARAM2
#endif