summaryrefslogtreecommitdiff
path: root/gstring.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-04-25 20:52:42 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-04-25 20:52:42 +0000
commitd6c6eb3d92e857a296134c68c2cd590636b1fb63 (patch)
tree03a00c8ee55919e9f12066b1cce42e78fafe686a /gstring.c
parent2aa1277d60f63d283a955d40cc681f1d30a067e8 (diff)
downloadglib-d6c6eb3d92e857a296134c68c2cd590636b1fb63.tar.gz
More editing. Use gcc, not ld to link. On native Win32 use _unlink(). Use
* README.win32: More editing. * build-dll: Use gcc, not ld to link. * glib.h: On native Win32 use _unlink(). * gscanner.c: Use corrent NATIVE_WIN32 feature test macro, not _MSC_VER. * gstring.c: Include <io.h> on Win32 for _read prototype. * gutils.c: Remove old IO channel code (was in #if 0). * makefile.cygwin: Don't need to link with kernel32 and msvcrt explicitly, they are included anyway.
Diffstat (limited to 'gstring.c')
-rw-r--r--gstring.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gstring.c b/gstring.c
index f714b3a53..a6c7e5bfb 100644
--- a/gstring.c
+++ b/gstring.c
@@ -43,6 +43,10 @@
#include <ctype.h>
#include "glib.h"
+#ifdef NATIVE_WIN32
+#include <io.h> /* For _read */
+#endif
+
#define G_STRING_BLOCK_SIZE 512
typedef struct _GRealStringChunk GRealStringChunk;