summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-05-16 13:18:15 -0400
committerColin Walters <walters@verbum.org>2013-05-16 13:19:02 -0400
commitbe1b3b9d3dbfacf15ede143de377452a92976468 (patch)
treea0b67dfd49e4e012f776138d1778dd4e0b1d0bf2
parentb2a65b235600e340fada441de7e131de9d52d25e (diff)
downloadlibgsystem-be1b3b9d3dbfacf15ede143de377452a92976468.tar.gz
GSSubprocess: Use #ifdef, not #if for GLIB_COMPILATION
It's not defined normally, and this triggers -Wundef which some projects make into an error.
-rw-r--r--gsystem-subprocess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsystem-subprocess.c b/gsystem-subprocess.c
index be23e21..ab5bbb7 100644
--- a/gsystem-subprocess.c
+++ b/gsystem-subprocess.c
@@ -209,7 +209,7 @@ gs_subprocess_unix_queue_waitpid (GSSubprocess *self)
GMainContext *worker_context;
GSource *waitpid_source;
-#if GLIB_COMPILATION
+#ifdef GLIB_COMPILATION
worker_context = GLIB_PRIVATE_CALL (g_get_worker_context) ();
#else
worker_context = g_main_context_get_thread_default ();