diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-02-21 04:14:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-02-21 04:14:51 +0100 |
commit | 2d0c68af933c8d68328d627bf0904365cdc8c86d (patch) | |
tree | 56f648f703ab19add38ed86f59f924c063b4ccbf | |
parent | e4e6e28bad538f19c27837c84442a73ad0800bd7 (diff) |
check for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #if
-rw-r--r-- | src/pulse/context.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |