From: James Moore Date: Sat, 28 Sep 2002 15:37:21 +0000 (+0000) Subject: Make ext/fribidi compile against latest fribidi CVS X-Git-Tag: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=523274d31193702f82d91431f563a4999c4ff054;p=php Make ext/fribidi compile against latest fribidi CVS --- diff --git a/ext/fribidi/fribidi.c b/ext/fribidi/fribidi.c index 3e97a1a43e..515c397ba9 100755 --- a/ext/fribidi/fribidi.c +++ b/ext/fribidi/fribidi.c @@ -31,6 +31,19 @@ #include "ext/standard/info.h" #include +/* The fribidi guys dont believe in BC */ +#ifndef FRIBIDI_CHARSET_NOT_FOUND + +#define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8 +#define FRIBIDI_CHARSET_ISO8859_6 FRIBIDI_CHAR_SET_ISO8859_6 +#define FRIBIDI_CHARSET_ISO8859_8 FRIBIDI_CHAR_SET_ISO8859_8 +#define FRIBIDI_CHARSET_CP1255 FRIBIDI_CHAR_SET_CP1255 +#define FRIBIDI_CHARSET_CP1256 FRIBIDI_CHAR_SET_CP1256 +#define FRIBIDI_CHARSET_ISIRI_3342 FRIBIDI_CHAR_SET_ISIRI_3342 +#define FRIBIDI_CHARSET_CAP_RTL FRIBIDI_CHAR_SET_CAP_RTL + +#endif + function_entry fribidi_functions[] = { PHP_FE(fribidi_log2vis, NULL) {NULL, NULL, NULL}