1
0
Fork 0
forked from nuttx/nuttx-update

tools/mkdeps: Fix EOVERFLOW returned by stat when CONFIG_SIM_M32=y

by define _FILE_OFFSET_BITS to 64 described here:
https://man7.org/linux/man-pages/man2/stat.2.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I19c079294b79a541fbcc0bf5acbf7377067acf98
This commit is contained in:
Xiang Xiao 2020-09-24 16:51:15 +08:00 committed by Alan Carvalho de Assis
parent 4a6f7cacd5
commit 6a84d96bca

View file

@ -37,6 +37,8 @@
* Included Files
****************************************************************************/
#define _FILE_OFFSET_BITS 64
#include <sys/stat.h>
#include <stdbool.h>