X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-compat-util.h;h=c04e8baa87f263b426de17556f63351ae254ae95;hb=e4bffb5a1d9ab3c9c0ef0541a395d47516480d97;hp=01c4045e89a2e156062255193ed5d865fdf8a922;hpb=31a3c6bb45aa61e45f1663871620eaf742f0abbb;p=git.git diff --git a/git-compat-util.h b/git-compat-util.h index 01c4045e8..c04e8baa8 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -39,7 +39,7 @@ /* Approximation of the length of the decimal representation of this type. */ #define decimal_length(x) ((int)(sizeof(x) * 2.56 + 0.5) + 1) -#if !defined(__APPLE__) && !defined(__FreeBSD__) +#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() */ #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */ #endif