* libc/include/grp.h: Don't declare group functions when compiling
Cygwin.
This commit is contained in:
parent
39b553b8f0
commit
a505db6554
|
@ -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>
|
2002-02-09 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* libc/include/grp.h: Include Cygwin specific header.
|
* libc/include/grp.h: Include Cygwin specific header.
|
||||||
|
|
|
@ -63,6 +63,7 @@ struct group {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __INSIDE_CYGWIN__
|
||||||
struct group *getgrgid (gid_t);
|
struct group *getgrgid (gid_t);
|
||||||
struct group *getgrnam (const char *);
|
struct group *getgrnam (const char *);
|
||||||
int getgrnam_r (const char *, struct group *,
|
int getgrnam_r (const char *, struct group *,
|
||||||
|
@ -80,6 +81,7 @@ int setgroupent (int);
|
||||||
int initgroups (const char *, gid_t);
|
int initgroups (const char *, gid_t);
|
||||||
#endif /* !_XOPEN_SOURCE */
|
#endif /* !_XOPEN_SOURCE */
|
||||||
#endif /* !_POSIX_SOURCE */
|
#endif /* !_POSIX_SOURCE */
|
||||||
|
#endif /* !__INSIDE_CYGWIN__ */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue