Skip to content

Commit

Permalink
Fix compilation as static PHP-module
Browse files Browse the repository at this point in the history
Signed-off-by: Jille Timmermans <jille@quis.cx>
  • Loading branch information
Jille committed Apr 10, 2012
1 parent 94fe321 commit 46bb790
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions php_weakref.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@


#include "wr_weakref.h" #include "wr_weakref.h"


extern zend_module_entry weakref_module_entry;
#define phpext_weakref_ptr &weakref_module_entry

PHP_MINFO_FUNCTION(weakref); PHP_MINFO_FUNCTION(weakref);


PHP_MINIT_FUNCTION(weakref); PHP_MINIT_FUNCTION(weakref);
Expand Down

0 comments on commit 46bb790

Please sign in to comment.