diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-12-13 23:46:22 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-14 00:06:03 +0000 |
commit | e9ea5f21a90cca3623115a3c901d033b81f97eb6 (patch) | |
tree | ff69f071656d2656d91b247d01195b75b000b945 /lib/win32/emu.h | |
parent | 004c1d3b39f045f0f3935f6ca7cb9cb1960573ea (diff) |
Fix Windows file locking to work with MSVC
Diffstat (limited to 'lib/win32/emu.h')
-rw-r--r-- | lib/win32/emu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h index 8014316a..80c1d5d8 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -224,7 +224,7 @@ struct dirent *readdir(DIR *dp); int closedir(DIR *dp); // local constant to open file exclusively without shared access -#define O_LOCK 0x10000 +#define BOX_OPEN_LOCK 0x10000 extern DWORD winerrno; /* used to report errors from openfile() */ HANDLE openfile(const char *filename, int flags, int mode); |