@matheusbsbs / matheus-bagliano / commits / 95ca1c6cb7
Fork 0

Really fix headers for __FreeBSD__

The symbol to detect FreeBSD is __FreeBSD__, not __FreeBSD. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Dec 22, 2006 at 22:46 UTC 95ca1c6cb76ae01528f70c5ed437a79887a60775
1 file changed +1 -1
git-compat-util.h
+1 -1
@@ -11,7 +11,7 @@
11
12 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
13
14 -#if !defined(__APPLE__) && !defined(__FreeBSD)
14 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
15 #define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */
16 #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
17 #endif