1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

makes fribidi <= 0.10.4 works again

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15811 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
aurel 2005-06-23 23:40:07 +00:00
parent ef6d75cf7a
commit 2f79d1aa8d

6
configure vendored
View File

@ -5120,11 +5120,9 @@ if test "$_fribidi" = yes ; then
if ( $_fribidiconfig --version ) >/dev/null 2>&1 ; then
cat > $TMPC << EOF
#include <stdio.h>
#include <fribidi/fribidi.h>
/* workaround for fribidi 0.10.4 and below */
#if defined(FRIBIDI_CHARSET_UTF8) && !defined(FRIBIDI_CHAR_SET_UTF8)
#define FRIBIDI_CHAR_SET_UTF8 FRIBIDI_CHARSET_UTF8
#endif
#define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8
#include <fribidi/fribidi.h>
int main()
{
if(fribidi_parse_charset("UTF-8") != FRIBIDI_CHAR_SET_UTF8) {