Skip to content

Commit 24af274

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? git-compat-util: avoid redeclaring _DEFAULT_SOURCE
Header refactoring. (◔_◔) Signed-off-by: Johannes Schindelin <[email protected]>
1 parent c9b3372 commit 24af274

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat/posix.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@
7070
#define _ALL_SOURCE 1
7171
#define _GNU_SOURCE 1
7272
#define _BSD_SOURCE 1
73+
#ifndef _DEFAULT_SOURCE
7374
#define _DEFAULT_SOURCE 1
75+
#endif
7476
#define _NETBSD_SOURCE 1
7577
#define _SGI_SOURCE 1
7678

0 commit comments

Comments
 (0)