From 89b0a07c72d23a42a0834cd8515efe726c759f57 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Thu, 20 Jun 2019 12:38:32 +0100 Subject: [PATCH] test-glib-compat: Fix G_PID_FORMAT definition for old systems The G_PID_FORMAT constant is defined only if GLib does not support it. The constant was wrongly defined. Jessie Debian 32 shows this issue (printf format error). Signed-off-by: Frediano Ziglio Acked-by: Jeremy White --- server/tests/test-glib-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tests/test-glib-compat.h b/server/tests/test-glib-compat.h index eef07494..17ebcf48 100644 --- a/server/tests/test-glib-compat.h +++ b/server/tests/test-glib-compat.h @@ -70,7 +70,7 @@ g_test_assert_expected_messages_internal_no_warnings(const char *domain, /* Added in glib 2.50 */ #ifndef G_PID_FORMAT -#ifdef G_OS_WIN32 +#ifndef G_OS_WIN32 #define G_PID_FORMAT "i" #else #define G_PID_FORMAT "p"