summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_accelerator_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/zend_accelerator_module.h')
-rw-r--r--ext/opcache/zend_accelerator_module.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/opcache/zend_accelerator_module.h b/ext/opcache/zend_accelerator_module.h
index ece4a7d6b5..6e772b8c7e 100644
--- a/ext/opcache/zend_accelerator_module.h
+++ b/ext/opcache/zend_accelerator_module.h
@@ -22,7 +22,12 @@
#ifndef ZEND_ACCELERATOR_MODULE_H
#define ZEND_ACCELERATOR_MODULE_H
+#if ZEND_EXTENSION_API_NO > PHP_5_6_X_API_NO
+int start_accel_module(TSRMLS_D);
+#else
int start_accel_module(void);
+#endif
+
void zend_accel_override_file_functions(TSRMLS_D);
#endif /* _ZEND_ACCELERATOR_MODULE_H */