Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions snappy-stubs-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,9 @@ inline char* string_as_array(string* str) {
return str->empty() ? NULL : &*str->begin();
}

// Windows doesn't have ssize_t, so create one in the namespace snappy
typedef std::make_signed<size_t>::type ssize_t;

} // namespace snappy

#endif // UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_INTERNAL_H_