]> git.ipfire.org Git - thirdparty/git.git/commit - git-compat-util.h
git-compat-util.h: use apparently more common __sgi macro to detect SGI IRIX
authorGary V. Vaughan <git@mlists.thewrittenword.com>
Wed, 2 Jun 2010 01:55:36 +0000 (20:55 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2010 17:03:53 +0000 (10:03 -0700)
commit761a889a97a33d277f8a6607a4696164391f9d5d
treeda804f30d6063b18d6a7cd81a9df8dd75160621b
parent873c3472052e3d0385be4ece7b70cfdf573c051e
git-compat-util.h: use apparently more common __sgi macro to detect SGI IRIX

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>
git-compat-util.h