You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/09/25 23:43:30 UTC
[incubator-nuttx] branch master updated: tools/mkdeps: Fix
EOVERFLOW returned by stat when CONFIG_SIM_M32=y
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 6a84d96 tools/mkdeps: Fix EOVERFLOW returned by stat when CONFIG_SIM_M32=y
6a84d96 is described below
commit 6a84d96bcad027a37a84c058e977d0867283921e
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Thu Sep 24 16:51:15 2020 +0800
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 <xi...@xiaomi.com>
Change-Id: I19c079294b79a541fbcc0bf5acbf7377067acf98
---
tools/mkdeps.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/mkdeps.c b/tools/mkdeps.c
index 867c0be..57e8c3c 100644
--- a/tools/mkdeps.c
+++ b/tools/mkdeps.c
@@ -37,6 +37,8 @@
* Included Files
****************************************************************************/
+#define _FILE_OFFSET_BITS 64
+
#include <sys/stat.h>
#include <stdbool.h>