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, 2 insertions, 2 deletions
diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h
index d1b5a78af7..0ce9756cd4 100644
--- a/ext/pgsql/php_pgsql.h
+++ b/ext/pgsql/php_pgsql.h
@@ -22,7 +22,7 @@
#ifndef _PHP_PGSQL_H
#define _PHP_PGSQL_H
-#if COMPILE_DL || COMPILE_DL_PGSQL
+#ifdef COMPILE_DL_PGSQL
#undef HAVE_PGSQL
#define HAVE_PGSQL 1
#endif
@@ -37,7 +37,7 @@ extern zend_module_entry pgsql_module_entry;
#include <postgres.h>
#include <libpq-fe.h>
-#if (WIN32||WINNT)
+#ifdef PHP_WIN32
#define INV_WRITE 0x00020000
#define INV_READ 0x00040000
#else