X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_message_object.c;h=3161b01f0652e8eae925f60a295b0173cf6ebb72;hp=71c06d5f108b0dd8fa133890c2402449053e25a0;hb=e8608b78db949f6806ee47709aa6799affe69b9e;hpb=a4b593d03ef14d9bc422cbe6ce471a7b5b8abe5d diff --git a/http_message_object.c b/http_message_object.c index 71c06d5..3161b01 100644 --- a/http_message_object.c +++ b/http_message_object.c @@ -183,9 +183,11 @@ static inline void _http_message_object_declare_default_properties(TSRMLS_D) { zend_class_entry *ce = http_message_object_ce; +#ifndef WONKY DCL_CONST(long, "NONE", HTTP_MSG_NONE); DCL_CONST(long, "REQUEST", HTTP_MSG_REQUEST); DCL_CONST(long, "RESPONSE", HTTP_MSG_RESPONSE); +#endif DCL_PROP(PROTECTED, long, type, HTTP_MSG_NONE); DCL_PROP(PROTECTED, string, body, "");