Skip to content
Snippets Groups Projects
Commit f6e77b0d authored by rswindell's avatar rswindell
Browse files

OF_SHARE_* only defined if _WIN32 is defined.

parent afc98bdf
Branches
Tags
No related merge requests found
......@@ -74,13 +74,14 @@
#ifdef _WIN32
#include <windows.h> /* OF_SHARE_ */
#endif
#ifndef SH_DENYNO
#define SH_DENYNO OF_SHARE_DENY_NONE
#define SH_DENYRW OF_SHARE_EXCLUSIVE
#endif
#endif
#if defined _MSC_VER || defined __MINGW32__
#define sopen(f,o,s,p) _sopen(f,o,s,p)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment