aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------depends/sibs-pubsub0
-rw-r--r--include/odhtdb/env.hpp2
-rw-r--r--src/FileUtils.cpp5
3 files changed, 6 insertions, 1 deletions
diff --git a/depends/sibs-pubsub b/depends/sibs-pubsub
-Subproject 4fffc1cd8ccf1c3b1f15b2cb1942daf8cdd556a
+Subproject c1322a271104d037684fb21e2cdced47c566a3c
diff --git a/include/odhtdb/env.hpp b/include/odhtdb/env.hpp
index abaedd8..57ae068 100644
--- a/include/odhtdb/env.hpp
+++ b/include/odhtdb/env.hpp
@@ -27,7 +27,7 @@
#define WIN32_LEAN_AND_MEAN
#endif
- #include <Windows.h>
+ #include <windows.h>
#endif
#if defined(__linux__) || defined(__unix__) || defined(__APPLE__) || defined(_POSIX_VERSION)
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)