Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-03-05 23:45:41 +0300
committerJunio C Hamano <gitster@pobox.com>2015-03-05 23:45:41 +0300
commitca704731b1fdf77b8f6d296bcde206c67ed9d73a (patch)
tree12c82f02caa04e2affa09b7b391963f86e8b7496 /git-compat-util.h
parentfec7b79aa469eec2fa184b1ff7f8e41fb6fa632c (diff)
parent33baa6983de95da801ba710560740e263f8fc150 (diff)
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 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