ports/net/ftpcopy/patches/patch-src_attributes_h

12 lines
348 B
Text

Index: src/attributes.h
--- src/attributes.h.orig
+++ src/attributes.h
@@ -68,7 +68,7 @@
#define attribute_inline __inline__
#if GNUC_MINIMUM(2,7) /* doesn't work reliable before, IIRC */
-# define attribute_regparm(x) __attribute__((__regparm__((x))))
+# define attribute_regparm(x) /* nothing */
#else
# define attribute_regparm(x)
#endif