* libc/include/grp.h: Don't declare group functions when compiling

Cygwin.
This commit is contained in:
Corinna Vinschen 2002-02-10 13:26:29 +00:00
parent 39b553b8f0
commit a505db6554
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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
}