mirror of
https://github.com/git-for-windows/git.git
synced 2026-02-04 12:24:55 -06:00
git-compat-util: avoid redeclaring _DEFAULT_SOURCE
We are about to vendor in `mimalloc`'s source code which we will want to include `git-compat-util.h` after defining that constant. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
c75c3ecfb6
commit
a1f4e5f83e
@ -201,7 +201,9 @@ DISABLE_WARNING(-Wsign-compare)
|
||||
#define _ALL_SOURCE 1
|
||||
#define _GNU_SOURCE 1
|
||||
#define _BSD_SOURCE 1
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE 1
|
||||
#endif
|
||||
#define _NETBSD_SOURCE 1
|
||||
#define _SGI_SOURCE 1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user