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) | ||
commit | 761a889a97a33d277f8a6607a4696164391f9d5d | |
tree | da804f30d6063b18d6a7cd81a9df8dd75160621b | tree | snapshot |
parent | 873c3472052e3d0385be4ece7b70cfdf573c051e | commit | diff |
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>
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 | diff | blob | history |