diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-19 22:44:57 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-19 22:44:57 +0200 |
commit | c12b0d0ef846518db2d9c44676792a4bfc4ffe99 (patch) | |
tree | 634444190b8e0e1decb9168756e5cd0671023932 /common/storage_lmdb.cpp | |
parent | 5d654880ee08b44979cb17ba6ad6b7bf140294e5 (diff) | |
download | sink-c12b0d0ef846518db2d9c44676792a4bfc4ffe99.tar.gz sink-c12b0d0ef846518db2d9c44676792a4bfc4ffe99.zip |
Windows compat
Diffstat (limited to 'common/storage_lmdb.cpp')
-rw-r--r-- | common/storage_lmdb.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp index 49f30b5..227d52e 100644 --- a/common/storage_lmdb.cpp +++ b/common/storage_lmdb.cpp | |||
@@ -32,6 +32,11 @@ | |||
32 | #include <lmdb.h> | 32 | #include <lmdb.h> |
33 | #include "log.h" | 33 | #include "log.h" |
34 | 34 | ||
35 | #ifdef Q_OS_WIN | ||
36 | #include <BaseTsd.h> | ||
37 | typedef SSIZE_T ssize_t; | ||
38 | #endif | ||
39 | |||
35 | namespace Sink { | 40 | namespace Sink { |
36 | namespace Storage { | 41 | namespace Storage { |
37 | 42 | ||