提交 a01c9c28 编写于 作者: J Junio C Hamano

_XOPEN_SOURCE problem also exists on FreeBSD

Suggested by Rocco Rutte, Marco Roeland and others.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 d41cb273
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册