- add missing PHP closing tag
[m6w6/ext-http] / missing.h
index d41127359f32da7d2f1b8ee674bbb9014ae890df..1ad4b2a78be93b5b06733b975707a7bcfddf8477 100644 (file)
--- a/missing.h
+++ b/missing.h
 
 #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