Skip to content

Commit 044239b

Browse files
drafnelgitster
authored andcommitted
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 436f66b. Signed-off-by: Brandon Casey <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9ebfda1 commit 044239b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

git-compat-util.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@
5757
# endif
5858
#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && !defined(_M_UNIX) && !defined(sgi)
5959
#define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */
60-
#ifndef __sun__
6160
#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
6261
#endif
63-
#endif
6462
#define _ALL_SOURCE 1
6563
#define _GNU_SOURCE 1
6664
#define _BSD_SOURCE 1

0 commit comments

Comments
 (0)