Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-05-10 01:38:31 +0400
committerCorinna Vinschen <corinna@vinschen.de>2003-05-10 01:38:31 +0400
commita3cc5851381793081b02b4547b5f226ed99d3920 (patch)
tree951f093d5291c6974de3b4145ffbe5645facb580
parentd3b450f3a1ed7e00860ec3785252d1cec22e8f0d (diff)
* libc/include/sys/config.h: Remove all Cygwin specific configuration.
Include cygwin/config.h instead.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/config.h14
2 files changed, 7 insertions, 12 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index a820f0418..ad7259b24 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index 0b1e4cca1..bb04c9b2c 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -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