* libc/include/sys/config.h: Remove all Cygwin specific configuration.

Include cygwin/config.h instead.
This commit is contained in:
Corinna Vinschen 2003-05-09 21:38:31 +00:00
parent d3b450f3a1
commit a3cc585138
2 changed files with 7 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2003-05-09 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/config.h: Remove all Cygwin specific configuration.
Include cygwin/config.h instead.
2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
* newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield

View File

@ -147,17 +147,8 @@
#define __RAND_MAX 0x7fffffff
#endif
#if defined(__CYGWIN32__) || defined(__CYGWIN__)
#define __FILENAME_MAX__ (260 - 1 /* NUL */)
#define _READ_WRITE_RETURN_TYPE _ssize_t
#define __LARGE64_FILES 1
#define __CYGWIN_USE_BIG_TYPES__ 1
#if defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB)
#define __IMPORT
#else
#define __IMPORT __declspec(dllimport)
#endif
#include <cygwin/config.h>
#endif
#if defined(__rtems__)
@ -177,8 +168,7 @@
#endif
#ifndef __WCHAR_MAX__
#if __INT_MAX__ == 32767 || defined(__CYGWIN__) || \
defined (_WIN32)
#if __INT_MAX__ == 32767 || defined (_WIN32)
#define __WCHAR_MAX__ 0xffffu
#endif
#endif