mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix win32 build.
This commit is contained in:
parent
034685f258
commit
51cb237aa6
1 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,12 @@ extern zend_module_entry pgsql_module_entry;
|
|||
#ifdef PHP_WIN32
|
||||
#define INV_WRITE 0x00020000
|
||||
#define INV_READ 0x00040000
|
||||
#undef PHPAPI
|
||||
#ifdef PGSQL_EXPORTS
|
||||
#define PHPAPI __declspec(dllexport)
|
||||
#else
|
||||
#define PHPAPI __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#include <libpq/libpq-fs.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue