summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-05 20:45:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-05 20:45:41 (GMT)
commitca704731b1fdf77b8f6d296bcde206c67ed9d73a (patch)
tree12c82f02caa04e2affa09b7b391963f86e8b7496 /git-compat-util.h
parentfec7b79aa469eec2fa184b1ff7f8e41fb6fa632c (diff)
parent33baa6983de95da801ba710560740e263f8fc150 (diff)
downloadgit-ca704731b1fdf77b8f6d296bcde206c67ed9d73a.zip
git-ca704731b1fdf77b8f6d296bcde206c67ed9d73a.tar.gz
git-ca704731b1fdf77b8f6d296bcde206c67ed9d73a.tar.bz2
Merge branch 'rj/no-xopen-source-for-cygwin'
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 3455c5e..fd58b1d 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