From: Hallvard Furuseth Date: Mon, 15 Oct 2012 15:03:46 +0000 (+0200) Subject: More for mdb_env_copy(). X-Git-Tag: OPENLDAP_REL_ENG_2_4_34~139^2~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=092f9a5c66425535f9d538d8fefd0049ad65f452;p=openldap More for mdb_env_copy(). Fix #define _GNU_SOURCE = 1 to match any command line -D_GNU_SOURCE. .gitignore += mdb_copy. --- 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