diff options
author | madmaxoft <github@xoft.cz> | 2014-06-30 21:41:14 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-06-30 21:41:38 +0200 |
commit | a5a0533d793a64b76a84f23d4ca1754571ee0b40 (patch) | |
tree | 625d35e33bb1f0d60d0d82f09c44e72311e70b72 /src/OSSupport/File.cpp | |
parent | Fixed tolua linking order. (diff) | |
download | cuberite-a5a0533d793a64b76a84f23d4ca1754571ee0b40.tar cuberite-a5a0533d793a64b76a84f23d4ca1754571ee0b40.tar.gz cuberite-a5a0533d793a64b76a84f23d4ca1754571ee0b40.tar.bz2 cuberite-a5a0533d793a64b76a84f23d4ca1754571ee0b40.tar.lz cuberite-a5a0533d793a64b76a84f23d4ca1754571ee0b40.tar.xz cuberite-a5a0533d793a64b76a84f23d4ca1754571ee0b40.tar.zst cuberite-a5a0533d793a64b76a84f23d4ca1754571ee0b40.zip |
Diffstat (limited to 'src/OSSupport/File.cpp')
-rw-r--r-- | src/OSSupport/File.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp index 8c24fa541..addf8f928 100644 --- a/src/OSSupport/File.cpp +++ b/src/OSSupport/File.cpp @@ -7,6 +7,9 @@ #include "File.h" #include <fstream> +#ifdef _WIN32 + #include <share.h> // for _SH_DENYWRITE +#endif // _WIN32 |