Skip to content

Commit 3c766f3

Browse files
author
Andi Gutmans
committed
- Update postgress to build on Windows
1 parent dee9053 commit 3c766f3

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

ext/pgsql/pgsql.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121

2222
#include <stdlib.h>
2323

24-
#ifdef COMPILE_DL_PGSQL
25-
#include "dl/phpdl.h"
26-
#endif
27-
2824
#define PHP_PGSQL_PRIVATE 1
2925

3026
#include "php.h"

ext/pgsql/pgsql.dsp

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/pgsql/php_pgsql.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#ifndef _PHP_PGSQL_H
2323
#define _PHP_PGSQL_H
2424

25-
#if COMPILE_DL || COMPILE_DL_PGSQL
25+
#ifdef COMPILE_DL_PGSQL
2626
#undef HAVE_PGSQL
2727
#define HAVE_PGSQL 1
2828
#endif
@@ -37,7 +37,7 @@ extern zend_module_entry pgsql_module_entry;
3737
#include <postgres.h>
3838
#include <libpq-fe.h>
3939

40-
#if (WIN32||WINNT)
40+
#ifdef PHP_WIN32
4141
#define INV_WRITE 0x00020000
4242
#define INV_READ 0x00040000
4343
#else

0 commit comments

Comments
 (0)