summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 873c347)
raw | patch | inline | side by side (parent: 873c347)
author | Gary V. Vaughan <git@mlists.thewrittenword.com> | |
Wed, 2 Jun 2010 01:55:36 +0000 (20:55 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 2 Jun 2010 17:03:53 +0000 (10:03 -0700) |
IRIX 6.5.26m does not define the 'sgi' macro, but it does define an '__sgi'
macro. Since later IRIX versions (6.5.29m) define both macros, and since
an underscore prefixed macro is preferred anyway, use '__sgi' to detect
compilation on SGI IRIX.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
macro. Since later IRIX versions (6.5.29m) define both macros, and since
an underscore prefixed macro is preferred anyway, use '__sgi' to detect
compilation on SGI IRIX.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h | patch | blob | history |
diff --git a/git-compat-util.h b/git-compat-util.h
index 7e62b552700a580646dbb6a8921c40761d6b57a2..b96912b5d36e971212e219f038b62bfcb7bdbd14 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
# define _XOPEN_SOURCE 500
# endif
#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && \
- !defined(_M_UNIX) && !defined(sgi) && !defined(__DragonFly__)
+ !defined(_M_UNIX) && !defined(__sgi) && !defined(__DragonFly__)
#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