]> granicus.if.org Git - php/commitdiff
Make it compile with the latest _release_ too..
authorfoobar <sniper@php.net>
Sun, 29 Sep 2002 18:53:19 +0000 (18:53 +0000)
committerfoobar <sniper@php.net>
Sun, 29 Sep 2002 18:53:19 +0000 (18:53 +0000)
ext/fribidi/fribidi.c

index 515c397ba97adda13b8d0586c9687b9b20650884..394d3405934f07a63636908a56a70431a33ffe38 100755 (executable)
@@ -32,8 +32,7 @@
 #include <fribidi/fribidi.h>
 
 /* The fribidi guys dont believe in BC */
-#ifndef FRIBIDI_CHARSET_NOT_FOUND
-
+#ifdef FRIBIDI_CHAR_SET_UTF8
 #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
@@ -41,7 +40,6 @@
 #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[] = {