From 8a4b4764b8e725f18795c581760b6d67c4848fb3 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 13 May 2003 09:46:48 +0000 Subject: * 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. --- newlib/libc/stdio/mktemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/stdio/mktemp.c') 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) -- cgit v1.2.3