fix compile error on MSVC, where ssize_t doesn't exist (but SSIZE_T does)

This commit is contained in:
rdb 2013-08-26 14:38:55 +00:00
parent 7346306437
commit 461fdfdddc

View File

@ -26,6 +26,10 @@
#include <errno.h>
#endif // _WIN32
#ifdef _MSC_VER
typedef SSIZE_T ssize_t;
#endif
PandaFileStreamBuf::NewlineMode PandaFileStreamBuf::_newline_mode = NM_native;
static const size_t file_buffer_size = 4096;