leveldb: Assert that ssize_t is the same size as size_t on Windows

Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Jack Grigg 2020-09-25 15:59:05 +01:00
parent 3d79da1beb
commit f5582677a6
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@
#include <string>
#include <stdint.h>
static_assert(sizeof(ssize_t) == sizeof(size_t), "ssize_t should be the same size as size_t");
#ifdef SNAPPY
#include <snappy.h>
#endif