aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-10-28 02:18:41 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-10-28 02:18:43 +0200
commit55bb14a7e0d034b375da73a9c2aae10881e32801 (patch)
treeb017e876354d482e4503d34bef77edc8e77df376 /src
parent109108c896f1ada76121330ab01602072f32dd8c (diff)
Fix build for mingw
Diffstat (limited to 'src')
-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)