aboutsummaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2009-08-19 20:27:08 -0500
committerJunio C Hamano <gitster@pobox.com>2009-08-19 21:04:56 -0700
commit044239b0a1fbdcccefafe1dab5f9c21e5a2a9150 (patch)
treea961fece04ab6ab6f43d3edf34e804dd408dfa8d /git-compat-util.h
parent9ebfda109eeb69e8f313ffa7fb85bdba0f16e405 (diff)
downloadgit-044239b0a1fbdcccefafe1dab5f9c21e5a2a9150.tar.gz
git-044239b0a1fbdcccefafe1dab5f9c21e5a2a9150.tar.xz
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>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 9f941e42b..71b5acb6f 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -57,10 +57,8 @@
# endif
#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && !defined(_M_UNIX) && !defined(sgi)
#define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */
-#ifndef __sun__
#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
#endif
-#endif
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _BSD_SOURCE 1