[glib/glib-2-58: 29/55] tests W32: ifdef a variable not used on Windows



commit e459e7bdf78eb97bf8c6a5c8f26b9046c0e80625
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]