summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-06-30 21:41:14 +0200
committermadmaxoft <github@xoft.cz>2014-06-30 21:41:38 +0200
commita5a0533d793a64b76a84f23d4ca1754571ee0b40 (patch)
tree625d35e33bb1f0d60d0d82f09c44e72311e70b72 /src/OSSupport/File.cpp
parentFixed tolua linking order. (diff)
downloadcuberite-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.cpp3
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