summaryrefslogtreecommitdiff
path: root/gtk/testgtk.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-10-22 16:01:20 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-10-22 16:01:20 +0000
commit5fd61965e443bba8a8ce85bb02683c8a32b919fc (patch)
tree93d193b981aca6e1b3426e113ae2588fb8eebf8b /gtk/testgtk.c
parent2f9aee8d7f0d164412a459d26970ea3151f875be (diff)
downloadgdk-pixbuf-5fd61965e443bba8a8ce85bb02683c8a32b919fc.tar.gz
gtk/makefile.mingw.in Updates.
2000-10-22 Tor Lillqvist <tml@iki.fi> * gtk/makefile.mingw.in * gtk/gtk.def: Updates. * gtk/testgtk.c: sleep() is called _sleep in MS's C library. * gtk/gtkimcontextsimple.c: Include <stdlib.h> 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.
Diffstat (limited to 'gtk/testgtk.c')
-rw-r--r--gtk/testgtk.c4
1 files changed, 4 insertions, 0 deletions
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"