mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-10 23:57:38 +00:00
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 <fziglio@redhat.com> Acked-by: Jeremy White <jwhite@codeweavers.com>
This commit is contained in:
parent
11b0a58bbf
commit
89b0a07c72
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user