Skip to content

Commit

Permalink
Remove macros we no longer need
Browse files Browse the repository at this point in the history
  • Loading branch information
hnw committed Sep 21, 2012
1 parent 9be4c2b commit d36b1e8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions php_timecop.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,6 @@ extern zend_module_entry timecop_module_entry;
#include <time.h>
#include "Zend/zend_interfaces.h"

#ifndef Z_ADDREF_P
/* PHP 5.2, old GC */
#define Z_ADDREF_P(pz) (++(pz)->refcount)
#define Z_DELREF_P(pz) (--(pz)->refcount)
#define Z_REFCOUNT_P(pz) ((pz)->refcount)
#define Z_SET_REFCOUNT_P(pz, rc) ((pz)->refcount = rc)
#define Z_REFCOUNT_PP(ppz) Z_REFCOUNT_P(*(ppz))
#define Z_DELREF_PP(ppz) Z_DELREF_P(*(ppz))
#endif

PHP_MINIT_FUNCTION(timecop);
PHP_MSHUTDOWN_FUNCTION(timecop);
PHP_RINIT_FUNCTION(timecop);
Expand Down

0 comments on commit d36b1e8

Please sign in to comment.