mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
fix compile error on MSVC, where ssize_t doesn't exist (but SSIZE_T does)
This commit is contained in:
parent
7346306437
commit
461fdfdddc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user