[trunk] fix compilation on OS where ssize_t is not defined.

This commit is contained in:
Mathieu Malaterre
2012-03-27 07:44:28 +00:00
parent 0c5193c588
commit 9642c7f990
3 changed files with 9 additions and 0 deletions

View File

@@ -48,4 +48,9 @@ typedef size_t OPJ_SIZE_T;
/* 64-bit file offset type */
typedef int64_t OPJ_OFF_T;
#ifndef HAVE_SSIZE_T
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
#endif /* OPJ_STDINT_H */