From: Michael Biebl Date: Mon, 27 Sep 2010 17:10:11 +0000 (+0200) Subject: Need to use #elif defined(DEBIAN) here... X-Git-Tag: v11~70 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=f6943caa53ac486cc8de580160954ba2b8ffd504;ds=sidebyside Need to use #elif defined(DEBIAN) here... This fixes a c&p error in 7472744bf9eddc7137f03233e49fa780793d5fc0 --- diff --git a/src/locale-setup.c b/src/locale-setup.c index fcbf216d1..78fa2123f 100644 --- a/src/locale-setup.c +++ b/src/locale-setup.c @@ -135,7 +135,7 @@ int locale_setup(void) { log_warning("Failed to read /etc/sysconfig/language: %s", strerror(-r)); } -#ifdef TARGET_DEBIAN +#elif defined(TARGET_DEBIAN) if (r <= 0 && (r = parse_env_file("/etc/default/locale", NEWLINE, "LANG", &variables[VARIABLE_LANG],