mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
check for ENABLE_LEGACY_RUNTIME_DIR with #ifdef, not #if
This commit is contained in:
parent
e4e6e28bad
commit
2d0c68af93
1 changed files with 2 additions and 2 deletions
|
|
@ -554,7 +554,7 @@ static void setup_context(pa_context *c, pa_iochannel *io) {
|
||||||
pa_context_unref(c);
|
pa_context_unref(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ENABLE_LEGACY_RUNTIME_DIR
|
#ifdef ENABLE_LEGACY_RUNTIME_DIR
|
||||||
static char *get_old_legacy_runtime_dir(void) {
|
static char *get_old_legacy_runtime_dir(void) {
|
||||||
char *p, u[128];
|
char *p, u[128];
|
||||||
struct stat st;
|
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) {
|
static pa_strlist *prepend_per_user(pa_strlist *l) {
|
||||||
char *ufn;
|
char *ufn;
|
||||||
|
|
||||||
#if ENABLE_LEGACY_RUNTIME_DIR
|
#ifdef ENABLE_LEGACY_RUNTIME_DIR
|
||||||
static char *legacy_dir;
|
static char *legacy_dir;
|
||||||
|
|
||||||
/* The very old per-user instance path (< 0.9.11). This is supported only to ease upgrades */
|
/* The very old per-user instance path (< 0.9.11). This is supported only to ease upgrades */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue