aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-03-07 21:03:43 +0000
committerChristopher Faylor <me@cgf.cx>2001-03-07 21:03:43 +0000
commit6198decee38544071381abd352fc10946fb73eff (patch)
tree2ea336ce1c3425da7dbd81c64b2425886b192244 /newlib
parent6ebccdc1107fcccc5466687b2a584c535d48d8c4 (diff)
downloadnewlib-6198decee38544071381abd352fc10946fb73eff.zip
newlib-6198decee38544071381abd352fc10946fb73eff.tar.gz
newlib-6198decee38544071381abd352fc10946fb73eff.tar.bz2
* libc/include/sys/config.h: Use ssize_t for read/write declarations.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/config.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 1670737..6212f06 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * libc/include/sys/config.h: Use ssize_t for read/write declarations.
+
Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
* libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index 60c6eb9..74860b8 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -128,6 +128,7 @@ typedef unsigned int __uint32_t;
#if defined(__CYGWIN32__) || defined(__CYGWIN__)
#define __FILENAME_MAX__ (260 - 1 /* NUL */)
+#define _READ_WRITE_RETURN_TYPE ssize_t
#if defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB)
#define __IMPORT
#else