cal: SSIZE_MAX is not required to be defined

This commit is contained in:
Pali Rohár committed 2016-12-23 10:13:07 +01:00
1 parent 0a1ac25219
commit b7c28b2c1b
1 file changed
+2
+2
View File
@@ -98,8 +98,10 @@ int cal_init_file(const char * file, struct cal ** cal_out) {
goto err;
blksize = lsize;
#endif
#ifdef SSIZE_MAX
if ( blksize > SSIZE_MAX )
goto err;
#endif
size = blksize;
} else {
#ifdef __linux__