summaryrefslogtreecommitdiff
path: root/databases/ocaml-sqlite3/files/patch-lib_sqlite3_stubs.c
blob: 94338598c7cae0f058eca2f5beded8dfece3975c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-lib_sqlite3_stubs.c,v 1.1 2012/09/16 11:34:46 jaapb Exp $

Correct system-dependent defines
--- lib/sqlite3_stubs.c.orig	2012-07-20 15:39:49 UTC
+++ lib/sqlite3_stubs.c
@@ -40,7 +40,7 @@
 
 #if __GNUC__ >= 3
 # define inline inline __attribute__ ((always_inline))
-# if !defined(__FreeBSD__) && !__APPLE__
+# if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !__APPLE__
 # define __unused __attribute__ ((unused))
 # endif
 #else