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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql.h b/ext/pdo_mysql/php_pdo_mysql.h
index a70190b66a..78b16ef861 100644
--- a/ext/pdo_mysql/php_pdo_mysql.h
+++ b/ext/pdo_mysql/php_pdo_mysql.h
@@ -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