Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'fc/fast-export-persistent-marks'
[gitweb.git]
/
compat
/
nedmalloc
/
malloc.c.h
diff --git
a/compat/nedmalloc/malloc.c.h
b/compat/nedmalloc/malloc.c.h
index fdcca82ba7d19f0072938e524d254d91d2b560b3..5a44dead9dd51cbf194d14f7f367844f780298d0 100644
(file)
--- a/
compat/nedmalloc/malloc.c.h
+++ b/
compat/nedmalloc/malloc.c.h
@@
-484,6
+484,10
@@
MAX_RELEASE_CHECK_RATE default: 4095 unless not HAVE_MMAP
#define DLMALLOC_VERSION 20804
#endif /* DLMALLOC_VERSION */
+#if defined(linux)
+#define _GNU_SOURCE 1
+#endif
+
#ifndef WIN32
#ifdef _WIN32
#define WIN32 1