summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/php_pgsql.h')
-rw-r--r--ext/pgsql/php_pgsql.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index b8365d659a..0294ea10a9 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -34,9 +34,8 @@ extern zend_module_entry pgsql_module_entry;
#undef SOCKET_SIZE_TYPE
#include <libpq-fe.h>
+#include <libpq/libpq-fs.h>
#ifdef PHP_WIN32
-#define INV_WRITE 0x00020000
-#define INV_READ 0x00040000
#undef PHP_PGSQL_API
#ifdef PGSQL_EXPORTS
#define PHP_PGSQL_API __declspec(dllexport)
@@ -44,7 +43,6 @@ extern zend_module_entry pgsql_module_entry;
#define PHP_PGSQL_API __declspec(dllimport)
#endif
#else
-#include <libpq/libpq-fs.h>
# if defined(__GNUC__) && __GNUC__ >= 4
# define PHP_PGSQL_API __attribute__ ((visibility("default")))
# else