From 092f9a5c66425535f9d538d8fefd0049ad65f452 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 15 Oct 2012 17:03:46 +0200 Subject: [PATCH] More for mdb_env_copy(). Fix #define _GNU_SOURCE = 1 to match any command line -D_GNU_SOURCE. .gitignore += mdb_copy. --- libraries/libmdb/.gitignore | 1 + libraries/libmdb/mdb.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/libmdb/.gitignore b/libraries/libmdb/.gitignore index 134c457f7d..0d493fe188 100644 --- a/libraries/libmdb/.gitignore +++ b/libraries/libmdb/.gitignore @@ -1,6 +1,7 @@ mtest mtest[23456] testdb +mdb_copy mdb_stat *.[ao] *.so diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index b39fbfbfcb..07ecf99eba 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -32,7 +32,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _GNU_SOURCE +#define _GNU_SOURCE 1 #include #include #include -- 2.39.5