From: Hallvard Furuseth Date: Thu, 13 Jun 2013 06:58:24 +0000 (+0200) Subject: Don't #define _GNU_SOURCE if already defined. X-Git-Tag: OPENLDAP_REL_ENG_2_4_36~36^2~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62e4c4f9d0675647ad0d9ca4573060a13df20f34;p=openldap Don't #define _GNU_SOURCE if already defined. --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 536aaaaff5..940335730b 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -32,7 +32,9 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE 1 +#endif #include #include #include