$NetBSD: patch-ai,v 1.5 2003/09/27 19:58:36 danw Exp $

--- demos/gtk-demo/main.c.orig	Tue Apr 15 21:43:16 2003
+++ demos/gtk-demo/main.c	Tue Apr 15 21:43:22 2003
@@ -96,7 +96,7 @@
     {
       int c;
       
-#ifndef G_OS_WIN32
+#ifdef HAVE_FLOCKFILE
       c = getc_unlocked (stream);
 #else
       c = getc (stream);
