summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d41cb27)
raw | patch | inline | side by side (parent: d41cb27)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 22 Dec 2006 06:51:42 +0000 (22:51 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 22 Dec 2006 06:56:26 +0000 (22:56 -0800) |
Suggested by Rocco Rutte, Marco Roeland and others.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-compat-util.h | patch | blob | history |
diff --git a/git-compat-util.h b/git-compat-util.h
index 41fa7f67bc0feaecad34f64411e1862d1a10122a..c66e0a424707dde0e155aacf6b9adf4e355cb54f 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
-#ifndef __APPLE_CC__
+#if !defined(__APPLE__) && !defined(__FreeBSD)
#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 */
#endif