openbsd-ports/databases/ocaml-sqlite3/patches/patch-sqlite3_stubs_c

14 lines
412 B
Plaintext

$OpenBSD: patch-sqlite3_stubs_c,v 1.3 2010/05/05 06:49:36 espie Exp $
--- sqlite3_stubs.c.orig Wed May 5 08:45:50 2010
+++ sqlite3_stubs.c Wed May 5 08:46:28 2010
@@ -41,7 +41,9 @@
#if __GNUC__ >= 3
# define inline inline __attribute__ ((always_inline))
# if !defined(__FreeBSD__) && !__APPLE__
+# if !defined(__unused)
# define __unused __attribute__ ((unused))
+#endif
# endif
#else
# define __unused