summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-23 06:46:11 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-12-23 06:46:11 (GMT)
commit95ca1c6cb76ae01528f70c5ed437a79887a60775 (patch)
tree91d68d64c80d3216ff0cca18f7feffdfb1cc20f9 /git-compat-util.h
parentea560e6d64374ec1f6c163c276319a3da21a1345 (diff)
downloadgit-95ca1c6cb76ae01528f70c5ed437a79887a60775.zip
git-95ca1c6cb76ae01528f70c5ed437a79887a60775.tar.gz
git-95ca1c6cb76ae01528f70c5ed437a79887a60775.tar.bz2
Really fix headers for __FreeBSD__
The symbol to detect FreeBSD is __FreeBSD__, not __FreeBSD. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index a55b923..f79365b 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -11,7 +11,7 @@
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
-#if !defined(__APPLE__) && !defined(__FreeBSD)
+#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