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
No related branches found
No related tags found
No related merge requests found
...@@ -74,13 +74,14 @@ ...@@ -74,13 +74,14 @@
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> /* OF_SHARE_ */ #include <windows.h> /* OF_SHARE_ */
#endif
#ifndef SH_DENYNO #ifndef SH_DENYNO
#define SH_DENYNO OF_SHARE_DENY_NONE #define SH_DENYNO OF_SHARE_DENY_NONE
#define SH_DENYRW OF_SHARE_EXCLUSIVE #define SH_DENYRW OF_SHARE_EXCLUSIVE
#endif #endif
#endif
#if defined _MSC_VER || defined __MINGW32__ #if defined _MSC_VER || defined __MINGW32__
#define sopen(f,o,s,p) _sopen(f,o,s,p) #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