summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/php_pdo.h')
-rw-r--r--ext/pdo/php_pdo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo.h b/ext/pdo/php_pdo.h
index 71ec3693db..c9217dfffb 100644
--- a/ext/pdo/php_pdo.h
+++ b/ext/pdo/php_pdo.h
@@ -26,6 +26,9 @@
extern zend_module_entry pdo_module_entry;
#define phpext_pdo_ptr &pdo_module_entry
+#include "php_version.h"
+#define PHP_PDO_VERSION PHP_VERSION
+
#ifdef PHP_WIN32
# if defined(PDO_EXPORTS) || (!defined(COMPILE_DL_PDO))
# define PDO_API __declspec(dllexport)