From 55bb14a7e0d034b375da73a9c2aae10881e32801 Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> 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') 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