git-compat-util.h: remove superfluous test for __sun__
This 'ifndef' macro is entered only when __sun__ is not defined. This test will never fail since it is located inside of the 'else' branch of an 'if' macro which tests whether __sun__ is defined. It has had no effect since the merge at 436f66b7. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Brandon Casey committed
Aug 19, 2009 at 20:27 UTC
044239b0a1fbdcccefafe1dab5f9c21e5a2a9150
1 file changed
-2
git-compat-util.h
-2
@@ -57,10 +57,8 @@
57
# endif
58
#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && !defined(_M_UNIX) && !defined(sgi)
59
#define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */
60
-#ifndef __sun__
60
#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
61
#endif
63
-#endif
62
#define _ALL_SOURCE 1
63
#define _GNU_SOURCE 1
64
#define _BSD_SOURCE 1