Fix win32 build.

This commit is contained in:
Edin Kadribasic 2002-05-10 02:39:37 +00:00
parent 034685f258
commit 51cb237aa6

View file

@ -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