summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql.h')
-rw-r--r--ext/pdo_mysql/php_pdo_mysql.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql.h b/ext/pdo_mysql/php_pdo_mysql.h
index f299e18ba2..b922f76add 100644
--- a/ext/pdo_mysql/php_pdo_mysql.h
+++ b/ext/pdo_mysql/php_pdo_mysql.h
@@ -1,6 +1,6 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 5 |
+ | PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+----------------------------------------------------------------------+
@@ -24,6 +24,9 @@
extern zend_module_entry pdo_mysql_module_entry;
#define phpext_pdo_mysql_ptr &pdo_mysql_module_entry
+#include "php_version.h"
+#define PHP_PDO_MYSQL_VERSION PHP_VERSION
+
#ifdef PHP_WIN32
#define PHP_PDO_MYSQL_API __declspec(dllexport)
#else