summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-03-05 12:45:41 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-05 12:45:41 -0800
commitca704731b1fdf77b8f6d296bcde206c67ed9d73a (patch)
tree12c82f02caa04e2affa09b7b391963f86e8b7496
parentMerge branch 'mm/am-c-doc' (diff)
parentgit-compat-util.h: remove redundant code (diff)
downloadtgif-ca704731b1fdf77b8f6d296bcde206c67ed9d73a.tar.xz
Merge branch 'rj/no-xopen-source-for-cygwin'
Code cleanups. * rj/no-xopen-source-for-cygwin: git-compat-util.h: remove redundant code
-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 3455c5ece6..fd58b1d2bc 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