Skip to content
Browse files

Fix compilation as static PHP-module

Signed-off-by: Jille Timmermans <jille@quis.cx>
  • Loading branch information...
1 parent 94fe321 commit 46bb7907542b10446bf67fa599d45ec317e856fc @Jille Jille committed Apr 10, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 php_weakref.h
View
3 php_weakref.h
@@ -37,6 +37,9 @@
#include "wr_weakref.h"
+extern zend_module_entry weakref_module_entry;
+#define phpext_weakref_ptr &weakref_module_entry
+
PHP_MINFO_FUNCTION(weakref);
PHP_MINIT_FUNCTION(weakref);

0 comments on commit 46bb790

Please sign in to comment.
Something went wrong with that request. Please try again.