[glib: 9/11] tests W32: ifdef a variable not used on Windows



commit 3ae1244ba10de8a0070613b0377a2deabeee1822
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Thu Sep 20 07:26:49 2018 +0000

    tests W32: ifdef a variable not used on Windows

 tests/mapping-test.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/tests/mapping-test.c b/tests/mapping-test.c
index 27c6d8366..ad776fad1 100644
--- a/tests/mapping-test.c
+++ b/tests/mapping-test.c
@@ -191,7 +191,9 @@ test_child_private (gchar *argv0)
   gsize len;
   gchar *child_argv[4];
   GPid  child_pid;
+#ifndef G_OS_WIN32
   GMainLoop *loop;
+#endif
   gchar pid[100];
   
 #ifdef G_OS_WIN32


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]