Merge branch 'rj/no-xopen-source-for-cygwin' into maint
Code cleanups. * rj/no-xopen-source-for-cygwin: git-compat-util.h: remove redundant code
This commit is contained in:
commit
f69f5f19cf
@ -164,16 +164,10 @@
|
|||||||
typedef long intptr_t;
|
typedef long intptr_t;
|
||||||
typedef unsigned long uintptr_t;
|
typedef unsigned long uintptr_t;
|
||||||
#endif
|
#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. */
|
#undef _ALL_SOURCE /* AIX 5.3L defines a struct list with _ALL_SOURCE. */
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#define _ALL_SOURCE 1
|
#define _ALL_SOURCE 1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
/* used on Mac OS X */
|
/* used on Mac OS X */
|
||||||
#ifdef PRECOMPOSE_UNICODE
|
#ifdef PRECOMPOSE_UNICODE
|
||||||
|
Loading…
Reference in New Issue
Block a user