Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rj/no-xopen-source-for-cygwin'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 5 Mar 2015 20:45:41 +0000
(12:45 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 5 Mar 2015 20:45:41 +0000
(12:45 -0800)
Code cleanups.
* rj/no-xopen-source-for-cygwin:
git-compat-util.h: remove redundant code
git-compat-util.h
patch
|
blob
|
history
raw
(from parent 1:
fec7b79
)
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 3455c5ece68359c70e04284b1c25b97716678172..fd58b1d2bcde2e1bff67ce503226bdbedf82a382 100644
(file)
--- 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