summaryrefslogtreecommitdiff
path: root/ext/hyperwave/hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hyperwave/hw.c')
-rw-r--r--ext/hyperwave/hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index c9432dbbf0..9790d5b8e4 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -126,13 +126,13 @@ PHP_HW_API php_hw_globals hw_globals;
#endif
#ifdef COMPILE_DL
-DLEXPORT zend_module_entry *get_module(void) { return &hw_module_entry; }
+ZEND_GET_MODULE(hw)
#endif
void print_msg(hg_msg *msg, char *str, int txt);
#if COMPILE_DL
-DLEXPORT zend_module_entry *get_module(void) { return &hw_module_entry; }
+ZEND_GET_MODULE(hw)
#endif
void _close_hw_link(hw_connection *conn)