mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Allow unlink/rename of files open by another process on Win32, using a
special Win32 open flag FILE_SHARE_DELETE. Claudio Natoli
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#define _strnicmp(a,b,c) strnicmp(a,b,c)
|
||||
#define _errno errno
|
||||
#else
|
||||
#define open(a,b,c) _open(a,b,c)
|
||||
/* open provided elsewhere */
|
||||
#define close(a) _close(a)
|
||||
#define read(a,b,c) _read(a,b,c)
|
||||
#define write(a,b,c) _write(a,b,c)
|
||||
|
||||
Reference in New Issue
Block a user