* 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.
This commit is contained in:
parent
5d575f7dcd
commit
8a4b4764b8
|
@ -1,3 +1,10 @@
|
||||||
|
2003-05-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2003-05-13 Corinna Vinschen <corinna@vinschen.de>
|
2003-05-13 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* libc/locale/ldpart.c (__part_load_locale): Substitute
|
* libc/locale/ldpart.c (__part_load_locale): Substitute
|
||||||
|
|
|
@ -84,7 +84,7 @@ static _CONST char _ctype_b[128 + 256] = {
|
||||||
_CTYPE_DATA_128_256
|
_CTYPE_DATA_128_256
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__CYGWIN__) || defined(__CYGWIN32__)
|
#if defined(__CYGWIN__)
|
||||||
extern _CONST char __declspec(dllexport) _ctype_[1 + 256] __attribute__ ((alias ("_ctype_b+127")));
|
extern _CONST char __declspec(dllexport) _ctype_[1 + 256] __attribute__ ((alias ("_ctype_b+127")));
|
||||||
_CONST char __declspec(dllexport) *__ctype_ptr = _ctype_b + 128;
|
_CONST char __declspec(dllexport) *__ctype_ptr = _ctype_b + 128;
|
||||||
#else
|
#else
|
||||||
|
@ -94,7 +94,7 @@ _CONST char *__ctype_ptr = _ctype_b + 128;
|
||||||
|
|
||||||
#else /* !defined(ALLOW_NEGATIVE_CTYPE_INDEX) */
|
#else /* !defined(ALLOW_NEGATIVE_CTYPE_INDEX) */
|
||||||
|
|
||||||
#if defined(__CYGWIN__) || defined(__CYGWIN32__)
|
#if defined(__CYGWIN__)
|
||||||
_CONST char __declspec(dllexport) _ctype_[1 + 256] = {
|
_CONST char __declspec(dllexport) _ctype_[1 + 256] = {
|
||||||
#else
|
#else
|
||||||
_CONST char _ctype_[1 + 256] = {
|
_CONST char _ctype_[1 + 256] = {
|
||||||
|
|
|
@ -79,7 +79,7 @@ typedef _fpos64_t fpos64_t;
|
||||||
#define __SNPT 0x0800 /* do not do fseek() optimisation */
|
#define __SNPT 0x0800 /* do not do fseek() optimisation */
|
||||||
#define __SOFF 0x1000 /* set iff _offset is in fact correct */
|
#define __SOFF 0x1000 /* set iff _offset is in fact correct */
|
||||||
#define __SMOD 0x2000 /* true => fgetline modified _p text */
|
#define __SMOD 0x2000 /* true => fgetline modified _p text */
|
||||||
#if defined(__CYGWIN__) || defined(__CYGWIN32__)
|
#if defined(__CYGWIN__)
|
||||||
# define __SCLE 0x4000 /* convert line endings CR/LF <-> NL */
|
# define __SCLE 0x4000 /* convert line endings CR/LF <-> NL */
|
||||||
#endif
|
#endif
|
||||||
#define __SL64 0x8000 /* is 64-bit offset large file */
|
#define __SL64 0x8000 /* is 64-bit offset large file */
|
||||||
|
|
|
@ -147,7 +147,7 @@
|
||||||
#define __RAND_MAX 0x7fffffff
|
#define __RAND_MAX 0x7fffffff
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__CYGWIN32__) || defined(__CYGWIN__)
|
#if defined(__CYGWIN__)
|
||||||
#include <cygwin/config.h>
|
#include <cygwin/config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ _DEFUN (_gettemp, (ptr, path, doopen),
|
||||||
if ((*doopen = _open_r (ptr, path, O_CREAT | O_EXCL | O_RDWR, 0600))
|
if ((*doopen = _open_r (ptr, path, O_CREAT | O_EXCL | O_RDWR, 0600))
|
||||||
>= 0)
|
>= 0)
|
||||||
return 1;
|
return 1;
|
||||||
#if defined(__CYGWIN32__) || defined(__CYGWIN__)
|
#if defined(__CYGWIN__)
|
||||||
if (ptr->_errno != EEXIST && ptr->_errno != EACCES)
|
if (ptr->_errno != EEXIST && ptr->_errno != EACCES)
|
||||||
#else
|
#else
|
||||||
if (ptr->_errno != EEXIST)
|
if (ptr->_errno != EEXIST)
|
||||||
|
|
Loading…
Reference in New Issue