Skip to content

Commit

Permalink
convert-objects: set _XOPEN_SOURCE to 600
Browse files Browse the repository at this point in the history
Otherwise OpenBSD header files drop S_ISLNK() definition which is used in
an inline defined in cache.h

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Nov 15, 2006
1 parent efe4abd commit 73fbd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert-objects.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define _XOPEN_SOURCE 500 /* glibc2 and AIX 5.3L need this */
#define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */
#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
#define _GNU_SOURCE
#include <time.h>
Expand Down

0 comments on commit 73fbd33

Please sign in to comment.