diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-02-05 23:30:24 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-02-05 23:30:24 +0300 |
commit | 6da41754a4be63e4e4c5f15d52ddec733913a6ad (patch) | |
tree | 44bae3be923b1b922ee876a47a1a3dd7fc8d154a /winsup/cygwin/include/sys | |
parent | 6fc6eeae9602d692f4fa5a222cd30812032f31ca (diff) |
* include/features.h: Add comment to explain what's going to happen
here at one point.
* include/sys/stdio.h: Guard getline and getdelim prototypes with
_GNU_SOURCE to avoid collision with old-style declarations.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/stdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/stdio.h b/winsup/cygwin/include/sys/stdio.h index 8d002ddba..7cc6f09f1 100644 --- a/winsup/cygwin/include/sys/stdio.h +++ b/winsup/cygwin/include/sys/stdio.h @@ -28,8 +28,10 @@ details. */ __BEGIN_DECLS +#ifdef _GNU_SOURCE ssize_t _EXFUN(getline, (char **, size_t *, FILE *)); ssize_t _EXFUN(getdelim, (char **, size_t *, int, FILE *)); +#endif /* _GNU_SOURCE */ __END_DECLS |