cal: SSIZE_MAX is not required to be defined
This commit is contained in:
1 parent
0a1ac25219
commit
b7c28b2c1b
1 file changed
+2
@@ -98,8 +98,10 @@ int cal_init_file(const char * file, struct cal ** cal_out) {
|
|||||||
goto err;
|
goto err;
|
||||||
blksize = lsize;
|
blksize = lsize;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SSIZE_MAX
|
||||||
if ( blksize > SSIZE_MAX )
|
if ( blksize > SSIZE_MAX )
|
||||||
goto err;
|
goto err;
|
||||||
|
#endif
|
||||||
size = blksize;
|
size = blksize;
|
||||||
} else {
|
} else {
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|||||||
Reference in new issue
Block a user