X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.h;h=1ad4b2a78be93b5b06733b975707a7bcfddf8477;hp=d41127359f32da7d2f1b8ee674bbb9014ae890df;hb=e29a410679b63b8f96b6890d1418f39d9ed489cc;hpb=bdcc6697f7dd2a636efe363d7208e3832692b1ec diff --git a/missing.h b/missing.h index d411273..1ad4b2a 100644 --- a/missing.h +++ b/missing.h @@ -17,6 +17,12 @@ #include "php_version.h" +#if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION >= 3) +# define HTTP_ZAPI_CONST_CAST(t) (const t) +#else +# define HTTP_ZAPI_CONST_CAST(t) (t) +#endif + #if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION == 0) # define WONKY #endif @@ -76,7 +82,7 @@ #endif #ifndef ZEND_MN -# define ZEND_MN(name) zim_##name +# define ZEND_MN(name) ZEND_FN(name) #endif #ifdef WONKY