diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-02-10 16:26:29 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-02-10 16:26:29 +0300 |
commit | a505db6554fb96d8eecce221378decbf3edf6b2e (patch) | |
tree | b8ab6c9f4375ea2adaa74f22966812cc011873e9 /newlib/libc/include | |
parent | 39b553b8f053f4cc5fd89762adac60b0d0aa4430 (diff) |
* libc/include/grp.h: Don't declare group functions when compiling
Cygwin.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/grp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/grp.h b/newlib/libc/include/grp.h index e652b29f2..48a3d63b2 100644 --- a/newlib/libc/include/grp.h +++ b/newlib/libc/include/grp.h @@ -63,6 +63,7 @@ struct group { extern "C" { #endif +#ifndef __INSIDE_CYGWIN__ struct group *getgrgid (gid_t); struct group *getgrnam (const char *); int getgrnam_r (const char *, struct group *, @@ -80,6 +81,7 @@ int setgroupent (int); int initgroups (const char *, gid_t); #endif /* !_XOPEN_SOURCE */ #endif /* !_POSIX_SOURCE */ +#endif /* !__INSIDE_CYGWIN__ */ #ifdef __cplusplus } |