mirror of
https://github.com/postgres/postgres.git
synced 2025-12-02 23:42:46 +03:00
Prepare code to be built by MSVC:
o remove many WIN32_CLIENT_ONLY defines o add WIN32_ONLY_COMPILER define o add 3rd argument to open() for portability o add include/port/win32_msvc directory for system includes Magnus Hagander
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.85 2006/05/31 20:58:09 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.86 2006/06/07 22:24:44 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -16,7 +16,11 @@
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifndef WIN32_ONLY_COMPILER
|
||||
#include "dynloader.h"
|
||||
#else
|
||||
#include "port/dynloader/win32.h"
|
||||
#endif
|
||||
#include "miscadmin.h"
|
||||
#include "utils/dynamic_loader.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user