Skip to content

Commit

Permalink
Fixed build before 5.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Jan 8, 2014
1 parent 0496a04 commit 400705b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yar_client.h
Expand Up @@ -27,6 +27,10 @@
#define YAR_CLIENT_PROTOCOL_UDP 3
#define YAR_CLIENT_PROTOCOL_UNIX 4

#ifndef ZEND_FETCH_RESOURCE_NO_RETURN
#define ZEND_FETCH_RESOURCE_NO_RETURN(rsrc, rsrc_type, passed_id, default_id, resource_type_name, resource_type) \
(rsrc = (rsrc_type) zend_fetch_resource(passed_id TSRMLS_CC, default_id, resource_type_name, NULL, 1, resource_type))
#endif

YAR_STARTUP_FUNCTION(client);
YAR_SHUTDOWN_FUNCTION(client);
Expand Down

0 comments on commit 400705b

Please sign in to comment.