Skip to content

Commit

Permalink
_XOPEN_SOURCE problem also exists on FreeBSD
Browse files Browse the repository at this point in the history
Suggested by Rocco Rutte, Marco Roeland and others.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Dec 22, 2006
1 parent d41cb27 commit a01c9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-compat-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#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
Expand Down

0 comments on commit a01c9c2

Please sign in to comment.