Commit ccc52211 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Enable NLS even though VLC is installed on other place than /usr/local on OS/2

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 36e919f3
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
# include <libintl.h> # include <libintl.h>
# if defined (__APPLE__) || defined (WIN32) # if defined (__APPLE__) || defined (WIN32) || defined(__OS2__)
# include "config/configuration.h" # include "config/configuration.h"
# include <vlc_charset.h> # include <vlc_charset.h>
# endif # endif
...@@ -37,7 +37,7 @@ int vlc_bindtextdomain (const char *domain) ...@@ -37,7 +37,7 @@ int vlc_bindtextdomain (const char *domain)
{ {
#if defined (ENABLE_NLS) #if defined (ENABLE_NLS)
/* Specify where to find the locales for current domain */ /* 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; static const char path[] = LOCALEDIR;
if (bindtextdomain (domain, path) == NULL) if (bindtextdomain (domain, path) == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment