[vlc-devel] [PATCH 24/41] Enable NLS even though VLC is installed on other place than /usr/local on OS/2
KO Myung-Hun
komh at chollian.net
Mon Oct 10 13:44:03 CEST 2011
---
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)
--
1.7.3.2
More information about the vlc-devel
mailing list