X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.h;h=1ad4b2a78be93b5b06733b975707a7bcfddf8477;hp=521d62a2af3817be2d17301d7ae47318ce9cfb3a;hb=378dd0f912b3139f1a797cf19e7c4eb88d33f141;hpb=a8ac1f41f21043ec7fed928821255fb4ea5c2c62 diff --git a/missing.h b/missing.h index 521d62a..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