My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe4abd
)
convert-objects: set _XOPEN_SOURCE to 600
author
Junio C Hamano
<junkio@cox.net>
Wed, 15 Nov 2006 22:57:47 +0000
(14:57 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 15 Nov 2006 22:57:47 +0000
(14:57 -0800)
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>
convert-objects.c
patch
|
blob
|
history
diff --git
a/convert-objects.c
b/convert-objects.c
index
631678b
..
8812583
100644
(file)
--- a/
convert-objects.c
+++ b/
convert-objects.c
@@
-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>