Browse Source

Merge branch 'rj/no-xopen-source-for-cygwin'

Code cleanups.

* rj/no-xopen-source-for-cygwin:
  git-compat-util.h: remove redundant code
maint
Junio C Hamano 10 years ago
parent
commit
ca704731b1
  1. 6
      git-compat-util.h

6
git-compat-util.h

@ -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…
Cancel
Save