mirror of https://github.com/wolfSSL/wolfBoot.git
Temp fix: `sign.c:67:5: error: implicit declaration of function '_chsize_s' [-Werror=implicit-function-declaration]`
parent
6f3722d31a
commit
8fff9cf3d7
|
@ -64,7 +64,7 @@ static inline int fp_truncate(FILE *f, size_t len)
|
||||||
if (f == NULL)
|
if (f == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
fd = _fileno(f);
|
fd = _fileno(f);
|
||||||
return _chsize_s(fd, len);
|
return _chsize(fd, len);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define HAVE_MMAP 1
|
#define HAVE_MMAP 1
|
||||||
|
|
Loading…
Reference in New Issue