[start of port to win32/msvc] HAVE_UNIST_H and _pipe() only include

2007-12-03  Hans Breuer  <hans@breuer.org>

	[start of port to win32/msvc]
	* gcancellable.c : HAVE_UNIST_H and _pipe()
	* gcontenttype.c : only include <dirent.h> in the UNIX branch
	* gdatainputstream.c : pointer arithmetic on void* is a gcc extension
	* gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
	HAVE_UNIST_H
	* glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
	* glocalvfs.c : use HAVE_PWD_H
	* gio.symbols : ifdef unix specific functions with G_OS_UNIX
	* makefile.msc : new file (maybe later converted to makefile.msc.in)
	* Makefile.am : added to EXTRA_DIST

svn path=/trunk/; revision=6027
This commit is contained in:
Hans Breuer
2007-12-03 22:37:44 +00:00
committed by Hans Breuer
parent 72ed8191af
commit 43ae389211
11 changed files with 305 additions and 6 deletions

View File

@@ -650,7 +650,7 @@ scan_for_newline (GDataInputStream *stream,
newline_len = 0;
start = checked;
buffer = g_buffered_input_stream_peek_buffer (bstream, &available) + start;
buffer = (guint8*)g_buffered_input_stream_peek_buffer (bstream, &available) + start;
end = available;
peeked = end - start;
@@ -826,7 +826,7 @@ scan_for_chars (GDataInputStream *stream,
found_pos = -1;
start = checked;
buffer = g_buffered_input_stream_peek_buffer (bstream, &available) + start;
buffer = (guint8*)g_buffered_input_stream_peek_buffer (bstream, &available) + start;
end = available;
peeked = end - start;