mirror of
https://github.com/apache/nuttx.git
synced 2026-08-05 14:19:03 +00:00
sim/hostfs: fix issue about access file with size more than 2GB
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
f8991f7782
commit
7d281f46de
1 changed files with 4 additions and 0 deletions
|
|
@ -93,6 +93,10 @@ ifeq ($(CONFIG_HOST_MACOS),y)
|
|||
HOSTCFLAGS += -Wno-deprecated-declarations
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_FS_LARGEFILE),y)
|
||||
HOSTCFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
endif
|
||||
|
||||
HOSTSRCS = sim_hostirq.c sim_hostmemory.c sim_hostmisc.c sim_hosttime.c sim_hostuart.c
|
||||
STDLIBS += -lpthread
|
||||
ifeq ($(CONFIG_HOST_MACOS),y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue