{"thread":{"id":"20670","subject":"[PATCH] git-compat-util.h: remove superfluous test for __sun__","startedAt":"2009-08-20T01:27:08Z","lastAt":"2009-08-20T01:27:08Z","messageCount":1,"participants":["Brandon Casey"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"121306","messageId":"ZUMLsyRzm8CaPjRJDxp6IuUm1_m9f1dLWBj6Z5IUF8KBVpNTSnESx0ur_aqSCnNRKOLfSdPh12w@cipher.nrlssc.navy.mil","threadId":"20670","inReplyTo":null,"subject":"[PATCH] git-compat-util.h: remove superfluous test for __sun__","fromName":"Brandon Casey","fromEmail":"casey@nrlssc.navy.mil","sentAt":"2009-08-20T01:27:08Z","receivedAt":"2009-08-20T01:27:08Z","isPatch":true,"sender":{"key":"drafnel@gmail.com","avatar":"https://avatars.githubusercontent.com/u/921167?v=4"},"body":"From: Brandon Casey <drafnel@gmail.com>\n\nThis 'ifndef' macro is entered only when __sun__ is not defined.  This test\nwill never fail since it is located inside of the 'else' branch of an 'if'\nmacro which tests whether __sun__ is defined.  It has had no effect since\nthe merge at 436f66b7.\n\nSigned-off-by: Brandon Casey <casey@nrlssc.navy.mil>\n---\n git-compat-util.h |    2 --\n 1 files changed, 0 insertions(+), 2 deletions(-)\n\ndiff --git a/git-compat-util.h b/git-compat-util.h\nindex 9f941e4..71b5acb 100644\n--- a/git-compat-util.h\n+++ b/git-compat-util.h\n@@ -57,10 +57,8 @@\n # endif\n #elif !defined(__APPLE__) && !defined(__FreeBSD__)  && !defined(__USLC__) && !defined(_M_UNIX) && !defined(sgi)\n #define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */\n-#ifndef __sun__\n #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */\n #endif\n-#endif\n #define _ALL_SOURCE 1\n #define _GNU_SOURCE 1\n #define _BSD_SOURCE 1\n-- \n1.6.4\n"}]}