Tests: erroneous usage of if preprocessor directive
[babeltrace.git] / tests / lib / test_ctf_writer.c
index 8b502d379e33168d22d75da92969298936f6ab8e..2eac697c7b17becb7c6d1f8d53c79fb1d100c288 100644 (file)
@@ -123,7 +123,7 @@ void validate_trace(char *parser_path, char *trace_path)
        }
 
        /* Replace by g_spawn_check_exit_status when we require glib >= 2.34 */
-#if G_OS_UNIX
+#ifdef G_OS_UNIX
        ret = WIFEXITED(exit_status) ? WEXITSTATUS(exit_status) : -1;
 #else
        ret = exit_status;
This page took 0.022811 seconds and 4 git commands to generate.