* glib.def: Add new entry point.
+ * tests/gio-test.c (main): Fix the Win32-only code to use current
+ API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
+
Fixes from Hans Breuer:
* glib.h (struct DIR): Keep the last readdir result cached inside
* glib.def: Add new entry point.
+ * tests/gio-test.c (main): Fix the Win32-only code to use current
+ API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
+
Fixes from Hans Breuer:
* glib.h (struct DIR): Keep the last readdir result cached inside
* glib.def: Add new entry point.
+ * tests/gio-test.c (main): Fix the Win32-only code to use current
+ API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
+
Fixes from Hans Breuer:
* glib.h (struct DIR): Keep the last readdir result cached inside
* glib.def: Add new entry point.
+ * tests/gio-test.c (main): Fix the Win32-only code to use current
+ API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
+
Fixes from Hans Breuer:
* glib.h (struct DIR): Keep the last readdir result cached inside
* glib.def: Add new entry point.
+ * tests/gio-test.c (main): Fix the Win32-only code to use current
+ API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
+
Fixes from Hans Breuer:
* glib.h (struct DIR): Keep the last readdir result cached inside
* glib.def: Add new entry point.
+ * tests/gio-test.c (main): Fix the Win32-only code to use current
+ API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
+
Fixes from Hans Breuer:
* glib.h (struct DIR): Keep the last readdir result cached inside
* glib.def: Add new entry point.
+ * tests/gio-test.c (main): Fix the Win32-only code to use current
+ API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
+
Fixes from Hans Breuer:
* glib.h (struct DIR): Keep the last readdir result cached inside
* glib.def: Add new entry point.
+ * tests/gio-test.c (main): Fix the Win32-only code to use current
+ API, g_io_channel_win32_make_pollfd() and g_io_channel_win32_poll().
+
Fixes from Hans Breuer:
* glib.h (struct DIR): Keep the last readdir result cached inside
int i;
#ifdef G_OS_WIN32
GTimeVal start, end;
+ GPollFD pollfd;
int pollresult;
#endif
#ifdef G_OS_WIN32
g_get_current_time (&start);
- pollresult = g_io_channel_win32_wait_for_condition (my_read_channel, G_IO_IN, 100);
+ g_io_channel_win32_make_pollfd (my_read_channel, G_IO_IN, &pollfd);
+ pollresult = g_io_channel_win32_poll (&pollfd, 1, 100);
g_get_current_time (&end);
if (end.tv_usec < start.tv_usec)
end.tv_sec--, end.tv_usec += 1000000;
array-test.exe \
date-test.exe \
dirname-test.exe\
+ gio-test.exe \
hash-test.exe \
list-test.exe \
node-test.exe \
rand-test.exe \
relation-test.exe\
slist-test.exe \
+# strfunc-test doesn't compile with MSVC
# strfunc-test.exe\
string-test.exe \
thread-test.exe \