aboutsummaryrefslogtreecommitdiff
path: root/src/FileUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileUtils.cpp')
-rw-r--r--src/FileUtils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FileUtils.cpp b/src/FileUtils.cpp
index 28bce29..2258081 100644
--- a/src/FileUtils.cpp
+++ b/src/FileUtils.cpp
@@ -3,6 +3,11 @@
using namespace std;
+#ifdef __MINGW32__
+#define flockfile(fp)
+#define funlockfile(fp)
+#endif
+
namespace odhtdb
{
OwnedByteArray fileGetContent(const boost::filesystem::path &filepath)