From 5fd61965e443bba8a8ce85bb02683c8a32b919fc Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 22 Oct 2000 16:01:20 +0000 Subject: gtk/makefile.mingw.in Updates. 2000-10-22 Tor Lillqvist * gtk/makefile.mingw.in * gtk/gtk.def: Updates. * gtk/testgtk.c: sleep() is called _sleep in MS's C library. * gtk/gtkimcontextsimple.c: Include for bsearch(). * gtk/makefile.msc: Remove * gtk/makefile.msc.in: New file, like makefile.mingw.in. * gtk/Makefile.am: Add it. * configure.in: Generate it. * gtk/gtktextbuffer.c (gtk_text_buffer_create_child_anchor) * gtk/gtktextbtree.c (gtk_text_line_char_to_byte): Return something even if not implemented, to satisfy picky MSVC. --- gtk/testgtk.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk/testgtk.c') diff --git a/gtk/testgtk.c b/gtk/testgtk.c index a24554f6b..0be827228 100644 --- a/gtk/testgtk.c +++ b/gtk/testgtk.c @@ -42,6 +42,10 @@ #include "gdk/gdk.h" #include "gdk/gdkkeysyms.h" +#ifdef G_OS_WIN32 +#define sleep(n) _sleep(n) +#endif + #include "circles.xbm" #include "test.xpm" -- cgit v1.2.1