]> git.sur5r.net Git - openldap/commitdiff
Don't #define _GNU_SOURCE if already defined.
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 13 Jun 2013 06:58:24 +0000 (08:58 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 13 Jun 2013 06:58:24 +0000 (08:58 +0200)
libraries/liblmdb/mdb.c

index 536aaaaff5feb24341ecfb85f0fcfd3e55a8d379..940335730beb3b94cf9e9b3d08ecc49cb75d7704 100644 (file)
@@ -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 <sys/types.h>
 #include <sys/stat.h>
 #include <sys/param.h>