[vlc-commits] Enable NLS even though VLC is installed on other place than /usr/ local on OS/2
KO Myung-Hun
git at videolan.org
Mon Oct 10 17:46:59 CEST 2011
vlc | branch: master | KO Myung-Hun <komh at chollian.net> | Mon Oct 10 20:44:03 2011 +0900| [ccc522119b3443d30c12a0aad668f1adcc8592a9] | committer: Rémi Denis-Courmont
Enable NLS even though VLC is installed on other place than /usr/local on OS/2
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ccc522119b3443d30c12a0aad668f1adcc8592a9
---
src/modules/textdomain.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/modules/textdomain.c b/src/modules/textdomain.c
index 60a1682..130f1ae 100644
--- a/src/modules/textdomain.c
+++ b/src/modules/textdomain.c
@@ -27,7 +27,7 @@
#ifdef ENABLE_NLS
# include <libintl.h>
-# if defined (__APPLE__) || defined (WIN32)
+# if defined (__APPLE__) || defined (WIN32) || defined(__OS2__)
# include "config/configuration.h"
# include <vlc_charset.h>
# 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)
More information about the vlc-commits
mailing list