X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.h;h=d1f53e5c485c4cb434a094fd3eb8c0a6c8dc8dfa;hp=cfe3d2e0a26e2f7b66a868458b53a8cd7a5b709d;hb=5efb94c93bc4c1d4873706958962acc4313477f3;hpb=8d9da7c8014b2738ec646b0415223f75f43059e7 diff --git a/missing.h b/missing.h index cfe3d2e..d1f53e5 100644 --- a/missing.h +++ b/missing.h @@ -21,8 +21,15 @@ #include "php_version.h" #if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION == 0) +# define WONKY +#endif + +#ifdef WONKY extern int zend_declare_property_double(zend_class_entry *ce, char *name, int name_length, double value, int access_type TSRMLS_DC); extern void zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int name_length, double value TSRMLS_DC); + +extern int zend_declare_property_bool(zend_class_entry *ce, char *name, int name_length, long value, int access_type TSRMLS_DC); +extern void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC); #endif #endif