X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-compat-util.h;h=4236647c91a6ec554b03b1f238630a77444e6190;hb=f90cf2b9203e81e3a2b70b15480628e9189b7e60;hp=c7cf2d5d9cdbfd4ed20c8b8ea49a36af7c138a4e;hpb=bbc0995792880d9f87f5c1a871f5f55b7284c7f1;p=git.git diff --git a/git-compat-util.h b/git-compat-util.h index c7cf2d5d9..4236647c9 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -41,8 +41,10 @@ #if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && !defined(_M_UNIX) #define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */ +#ifndef __sun__ #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */ #endif +#endif #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _BSD_SOURCE 1