From ccc522119b3443d30c12a0aad668f1adcc8592a9 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Mon, 10 Oct 2011 20:44:03 +0900 Subject: [PATCH] Enable NLS even though VLC is installed on other place than /usr/local on OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Denis-Courmont --- src/modules/textdomain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/textdomain.c b/src/modules/textdomain.c index 60a1682e5d..130f1aef9e 100644 --- a/src/modules/textdomain.c +++ b/src/modules/textdomain.c @@ -27,7 +27,7 @@ #ifdef ENABLE_NLS # include -# if defined (__APPLE__) || defined (WIN32) +# if defined (__APPLE__) || defined (WIN32) || defined(__OS2__) # include "config/configuration.h" # include # endif @@ -37,7 +37,7 @@ int vlc_bindtextdomain (const char *domain) { #if defined (ENABLE_NLS) /* Specify where to find the locales for current domain */ -# if !defined (__APPLE__) && !defined (WIN32) +# if !defined (__APPLE__) && !defined (WIN32) && !defined(__OS2__) static const char path[] = LOCALEDIR; if (bindtextdomain (domain, path) == NULL) -- 2.39.2