From 2d0c68af933c8d68328d627bf0904365cdc8c86d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 21 Feb 2009 04:14:51 +0100 Subject: check for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #if --- src/pulse/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pulse/context.c') diff --git a/src/pulse/context.c b/src/pulse/context.c index 9309c6b7..62fe5356 100644 --- a/src/pulse/context.c +++ b/src/pulse/context.c @@ -554,7 +554,7 @@ static void setup_context(pa_context *c, pa_iochannel *io) { pa_context_unref(c); } -#if ENABLE_LEGACY_RUNTIME_DIR +#ifdef ENABLE_LEGACY_RUNTIME_DIR static char *get_old_legacy_runtime_dir(void) { char *p, u[128]; struct stat st; @@ -603,7 +603,7 @@ static char *get_very_old_legacy_runtime_dir(void) { static pa_strlist *prepend_per_user(pa_strlist *l) { char *ufn; -#if ENABLE_LEGACY_RUNTIME_DIR +#ifdef ENABLE_LEGACY_RUNTIME_DIR static char *legacy_dir; /* The very old per-user instance path (< 0.9.11). This is supported only to ease upgrades */ -- cgit