diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-02-10 13:26:29 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-02-10 13:26:29 +0000 |
commit | a505db6554fb96d8eecce221378decbf3edf6b2e (patch) | |
tree | b8ab6c9f4375ea2adaa74f22966812cc011873e9 | |
parent | 39b553b8f053f4cc5fd89762adac60b0d0aa4430 (diff) | |
download | newlib-a505db6554fb96d8eecce221378decbf3edf6b2e.zip newlib-a505db6554fb96d8eecce221378decbf3edf6b2e.tar.gz newlib-a505db6554fb96d8eecce221378decbf3edf6b2e.tar.bz2 |
* libc/include/grp.h: Don't declare group functions when compiling
Cygwin.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/grp.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6ba3254..16453f4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2002-02-10 Corinna Vinschen <corinna@vinschen.de> + + * libc/include/grp.h: Don't declare group functions when compiling + Cygwin. + 2002-02-09 Corinna Vinschen <corinna@vinschen.de> * libc/include/grp.h: Include Cygwin specific header. diff --git a/newlib/libc/include/grp.h b/newlib/libc/include/grp.h index e652b29..48a3d63 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 } |