Merge branch 'rj/no-xopen-source-for-cygwin'
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2015 20:45:41 +0000 (12:45 -0800)
committerJunio 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
index 3455c5ece68359c70e04284b1c25b97716678172..fd58b1d2bcde2e1bff67ce503226bdbedf82a382 100644 (file)
 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