summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-02-13 00:03:35 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-02-13 00:03:35 +0000
commit6fed66fc9b1a08b02427415d73aaa3b1c54860bf (patch)
tree7792f97de8af1f2f80d8185f1e81e85afca2224a /demos
parentf6a32cf0d13e4f7c2bb238cbf79e69243dafb93b (diff)
downloadgtk+-6fed66fc9b1a08b02427415d73aaa3b1c54860bf.tar.gz
Protect getc_unlocked() by HAVE_FLOCKFILE in all cases. (#134205, Julio M.
Fri Feb 13 01:06:08 2004 Matthias Clasen <maclas@gmx.de> * demos/gtk-demo/main.c (read_line): Protect getc_unlocked() by HAVE_FLOCKFILE in all cases. (#134205, Julio M. Merino Vidal)
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index f6510acdbc..fb2e7a5b22 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -122,7 +122,7 @@ read_line (FILE *stream, GString *str)
{
int c;
-#ifndef G_OS_WIN32
+#ifndef HAVE_FLOCKFILE
c = getc_unlocked (stream);
#else
c = getc (stream);