summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-06 14:57:58 -0800
committerJunio C Hamano <gitster@pobox.com>2015-03-06 14:57:58 -0800
commitf69f5f19cfae949b2bbd6c6ffbb990b6a00d04b0 (patch)
treef5998797de4de95da736fc211509fc4bbcfc5a87 /git-compat-util.h
parentf56a5f4fed296647ae8978645f9c627410717398 (diff)
parent33baa6983de95da801ba710560740e263f8fc150 (diff)
downloadgit-f69f5f19cfae949b2bbd6c6ffbb990b6a00d04b0.tar.gz
Merge branch 'rj/no-xopen-source-for-cygwin' into maint
Code cleanups. * rj/no-xopen-source-for-cygwin: git-compat-util.h: remove redundant code
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 2ce96d5cb7..8b72e2a8dd 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -164,16 +164,10 @@
typedef long intptr_t;
typedef unsigned long uintptr_t;
#endif
-#if defined(__CYGWIN__)
-#undef _XOPEN_SOURCE
-#include <grp.h>
-#define _XOPEN_SOURCE 600
-#else
#undef _ALL_SOURCE /* AIX 5.3L defines a struct list with _ALL_SOURCE. */
#include <grp.h>
#define _ALL_SOURCE 1
#endif
-#endif
/* used on Mac OS X */
#ifdef PRECOMPOSE_UNICODE