summaryrefslogtreecommitdiff
path: root/ext/pgsql/php_pgsql.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-06-09 22:39:56 +0000
committerAndi Gutmans <andi@php.net>2000-06-09 22:39:56 +0000
commit3c766f379b94176fea5d5051417b6ca1e5728703 (patch)
tree7fac1c027affe3bf97b3f9233f79ad7872944c47 /ext/pgsql/php_pgsql.h
parentdee9053cb6b2c3d03e9a95d72f134e05d85b52b0 (diff)
downloadphp-git-3c766f379b94176fea5d5051417b6ca1e5728703.tar.gz
- Update postgress to build on Windows
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