Commit a9ff1078 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

contribs: fribidi: Fix MSVC build

parent c4fa23a3
--- fribidi/charset/fribidi-char-sets.c 2012-12-02 17:25:40.000000000 +0100
+++ /home/vlc/vlc/contrib/windowsphone/fribidi/charset/fribidi-char-sets.c 2014-12-15 16:54:39.537785800 +0100
@@ -117,6 +117,7 @@
# include <glib/gstrfuncs.h>
# define fribidi_strcasecmp g_ascii_strcasecmp
#else /* !FRIBIDI_USE_GLIB */
+#if !defined(_MSC_VER)
static char
toupper (
/* input */
@@ -125,6 +126,7 @@
{
return c < 'a' || c > 'z' ? c : c + 'A' - 'a';
}
+#endif
static int
fribidi_strcasecmp (
......@@ -16,6 +16,9 @@ fribidi: fribidi-$(FRIBIDI_VERSION).tar.bz2 .sum-fribidi
$(UNPACK)
$(APPLY) $(SRC)/fribidi/fribidi.patch
$(APPLY) $(SRC)/fribidi/no-ansi.patch
ifdef HAVE_VISUALSTUDIO
$(APPLY) $(SRC)/fribidi/msvc.patch
endif
$(MOVE)
# FIXME: DEPS_fribidi = iconv $(DEPS_iconv)
......
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