Skip to content

Commit

Permalink
fixup??? git-compat-util: avoid redeclaring _DEFAULT_SOURCE
Browse files Browse the repository at this point in the history
Header refactoring. (◔_◔)

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho authored and Git for Windows Build Agent committed Feb 26, 2025
1 parent 0088a4e commit 5e07127
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compat/posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
#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

Expand Down

0 comments on commit 5e07127

Please sign in to comment.