Commits

Ruslan Osmanov  committed 6a4d04b

Fix: libevent version 0x02001100 = 2.0.17

  • Participants
  • Parent commits c07871f
  • Tags 1.8.1

Comments (0)

Files changed (3)

File classes/http_request.c

 }
 /* }}} */
 
-#if LIBEVENT_VERSION_NUMBER >= 0x02000170
+#if LIBEVENT_VERSION_NUMBER >= 0x02001100
 /* {{{ proto EventBufferEvent EventHttpRequest::getBufferEvent(void);
  * Returns EventBufferEvent object on success, otherwise &null. */
 PHP_METHOD(EventHttpRequest, getBufferEvent)
 	PHP_ME(EventHttpRequest, clearHeaders,     arginfo_event__void,                     ZEND_ACC_PUBLIC)
 	PHP_ME(EventHttpRequest, removeHeader,     arginfo_event_http_req_remove_header,    ZEND_ACC_PUBLIC)
 	PHP_ME(EventHttpRequest, findHeader,       arginfo_event_http_req_remove_header,    ZEND_ACC_PUBLIC)
-#if LIBEVENT_VERSION_NUMBER >= 0x02000170
+#if LIBEVENT_VERSION_NUMBER >= 0x02001100
 	PHP_ME(EventHttpRequest, getBufferEvent,   arginfo_event__void,                     ZEND_ACC_PUBLIC)
 #endif
 	PHP_ME(EventHttpRequest, getConnection,    arginfo_event__void,                     ZEND_ACC_PUBLIC)
 PHP_METHOD(EventHttpRequest, clearHeaders);
 PHP_METHOD(EventHttpRequest, removeHeader);
 PHP_METHOD(EventHttpRequest, findHeader);
-#if LIBEVENT_VERSION_NUMBER >= 0x02000170
+#if LIBEVENT_VERSION_NUMBER >= 0x02001100
 PHP_METHOD(EventHttpRequest, getBufferEvent);
 #endif
 PHP_METHOD(EventHttpRequest, getConnection);