diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-05-13 09:46:48 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-05-13 09:46:48 +0000 |
commit | 8a4b4764b8e725f18795c581760b6d67c4848fb3 (patch) | |
tree | f1e90ab8814ec639388ebd4a0f29932aa8eb42db /newlib/libc/stdio/mktemp.c | |
parent | 5d575f7dcd7a436cfb9ec91b6378194f88458efb (diff) | |
download | cygnal-8a4b4764b8e725f18795c581760b6d67c4848fb3.tar.gz cygnal-8a4b4764b8e725f18795c581760b6d67c4848fb3.tar.bz2 cygnal-8a4b4764b8e725f18795c581760b6d67c4848fb3.zip |
* libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
* libc/include/stdio.h: Ditto.
* libc/include/sys/config.h: Ditto.
* libc/stdio/mktemp.c: Ditto.
Diffstat (limited to 'newlib/libc/stdio/mktemp.c')
-rw-r--r-- | newlib/libc/stdio/mktemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/mktemp.c b/newlib/libc/stdio/mktemp.c index 66030a382..f5757f3c7 100644 --- a/newlib/libc/stdio/mktemp.c +++ b/newlib/libc/stdio/mktemp.c @@ -155,7 +155,7 @@ _DEFUN (_gettemp, (ptr, path, doopen), if ((*doopen = _open_r (ptr, path, O_CREAT | O_EXCL | O_RDWR, 0600)) >= 0) return 1; -#if defined(__CYGWIN32__) || defined(__CYGWIN__) +#if defined(__CYGWIN__) if (ptr->_errno != EEXIST && ptr->_errno != EACCES) #else if (ptr->_errno != EEXIST) |