pkgsrc/archivers/advancecomp/patches/patch-aa

18 lines
451 B
Text

$NetBSD: patch-aa,v 1.1 2007/01/14 16:28:40 rillig Exp $
--- portable.h.orig 2004-08-09 15:04:02.000000000 +0200
+++ portable.h 2007-01-14 17:05:21.524063100 +0100
@@ -148,5 +148,13 @@ int vsnprintf(char *str, size_t count, c
}
#endif
+#if !defined(__GNUC__) && !defined(__PRETTY_FUNCTION__)
+# define __PRETTY_FUNCTION__ __func__
+#endif
+
+#if !defined(__GNUC__) && !defined(__attribute__)
+# define __attribute__(x) /**/
+#endif
+
#endif