summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-24 15:36:03 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-24 15:36:03 +0100
commit938ee834d345062cd94f8fdfd54fad0019432a83 (patch)
tree7f5197eb27ce7d78484487fdd79ccaab6640352c /src/os_win32.c
parent6039c7f05376f0e470cf62bf2757e653aea357f3 (diff)
downloadvim-git-938ee834d345062cd94f8fdfd54fad0019432a83.tar.gz
patch 7.4.1165v7.4.1165
Problem: When defining DYNAMIC_ICONV_DLL in the makefile, the build fails. Solution: Add #ifdef's. (Taro Muraoka) Try the newer version first.
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index da05e6ea3..4c876a05c 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -500,9 +500,12 @@ dyn_libintl_init()
if (hLibintlDLL)
return 1;
/* Load gettext library (libintl.dll) */
- hLibintlDLL = vimLoadLib(GETTEXT_DLL);
+#ifdef GETTEXT_DLL_ALT
if (!hLibintlDLL)
hLibintlDLL = vimLoadLib(GETTEXT_DLL_ALT);
+#endif
+ if (!hLibintlDLL)
+ hLibintlDLL = vimLoadLib(GETTEXT_DLL);
if (!hLibintlDLL)
{
if (p_verbose > 0)