mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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>
|
#include <errno.h>
|
||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
typedef SSIZE_T ssize_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
PandaFileStreamBuf::NewlineMode PandaFileStreamBuf::_newline_mode = NM_native;
|
PandaFileStreamBuf::NewlineMode PandaFileStreamBuf::_newline_mode = NM_native;
|
||||||
|
|
||||||
static const size_t file_buffer_size = 4096;
|
static const size_t file_buffer_size = 4096;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user