summaryrefslogtreecommitdiff
path: root/ext/pdo_pgsql/php_pdo_pgsql.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_pgsql/php_pdo_pgsql.h')
-rw-r--r--ext/pdo_pgsql/php_pdo_pgsql.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/php_pdo_pgsql.h b/ext/pdo_pgsql/php_pdo_pgsql.h
index 7174e31c08..4f41e9bf4f 100644
--- a/ext/pdo_pgsql/php_pdo_pgsql.h
+++ b/ext/pdo_pgsql/php_pdo_pgsql.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 pdo_pgsql_module_entry;
#define phpext_pdo_pgsql_ptr &pdo_pgsql_module_entry
+#include "php_version.h"
+#define PHP_PDO_PGSQL_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif