Irix 6.5 does not define 'sgi', but does define '__sgi'.
Signed-off-by: Gary V. Vaughan <redacted>
---
git-compat-util.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: b/git-compat-util.h
===================================================================
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -56,7 +56,8 @@
# 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(__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
--
Gary V. Vaughan (gary@thewrittenword.com)