From e2bf48f0f4b2650932f6cde447e7ea2b422c43a9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 28 Oct 2018 02:18:41 +0200 Subject: Fix build for mingw --- src/FileUtils.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/FileUtils.cpp') 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) -- cgit v1.2.3