jmoore Sat Sep 28 11:37:21 2002 EDT
Modified files:
/php4/ext/fribidi fribidi.c
Log:
Make ext/fribidi compile against latest fribidi CVS
Index: php4/ext/fribidi/fribidi.c
diff -u php4/ext/fribidi/fribidi.c:1.25 php4/ext/fribidi/fribidi.c:1.26
--- php4/ext/fribidi/fribidi.c:1.25 Thu Sep 26 08:58:31 2002
+++ php4/ext/fribidi/fribidi.c Sat Sep 28 11:37:21 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fribidi.c,v 1.25 2002/09/26 12:58:31 tal Exp $ */
+/* $Id: fribidi.c,v 1.26 2002/09/28 15:37:21 jmoore Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -30,6 +30,19 @@
#include "ext/standard/info.h"
#include <fribidi/fribidi.h>
+
+/* 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)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php