summaryrefslogtreecommitdiff
path: root/ext/recode/php_recode.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/recode/php_recode.h')
-rw-r--r--ext/recode/php_recode.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/recode/php_recode.h b/ext/recode/php_recode.h
index dd15e657af..24ee0bac78 100644
--- a/ext/recode/php_recode.h
+++ b/ext/recode/php_recode.h
@@ -1,6 +1,6 @@
-/*
+/*
+----------------------------------------------------------------------+
- | PHP Version 5 |
+ | PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
@@ -26,6 +26,9 @@
extern zend_module_entry recode_module_entry;
#define phpext_recode_ptr &recode_module_entry
+#include "php_version.h"
+#define PHP_RECODE_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(recode);
PHP_MSHUTDOWN_FUNCTION(recode);
PHP_MINFO_FUNCTION(recode);
@@ -35,5 +38,5 @@ PHP_FUNCTION(recode_file);
#else
#define phpext_recode_ptr NULL
#endif
-
+
#endif /* PHP_RECODE_H */