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:
parent
3d79da1beb
commit
f5582677a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue