fix compilation error (casio-fx9860)

This commit is contained in:
Yatis 2020-10-14 12:24:57 +02:00
parent 9f60f2bbf9
commit 4eb7b35617
3 changed files with 4 additions and 4 deletions

2
configure vendored
View File

@ -205,7 +205,7 @@ generate_config()
# ABI support
[ $support_vhex_kernel = true ] && echo 'CONFIG.TARGET += fxlibc-vhex'
[ $support_casio_abi_fx9860 = true ] && echo 'CONFIG.TARGET += fxlibc-fx9860'
[ $support_casio_abi_fx9860 = true ] && echo 'CONFIG.TARGET += fxlibc-fx9860g'
[ $support_casio_abi_fxcg50 = true ] && echo 'CONFIG.TARGET += fxlibc-fxcg50'
# formats

View File

@ -34,7 +34,7 @@
#---
MAJOR := 0
MINOR := 2
PATCH := 2
PATCH := 3
EXTRAVERSION := -alpha
@ -152,7 +152,7 @@ generated-libs += $$(lib-name)
# add custom flags based on the target ABI
ifeq ($1,fxlibc-vhex)
lib-cflags += -D __SUPPORT_VHEX_KERNEL
else ifeq ($1,fxlibc-casio-abi-fx9860)
else ifeq ($1,fxlibc-casio-abi-fx9860g)
lib-cflags += -D __SUPPORT_CASIO_ABI_FX9860G
else ifeq ($1,fxlibc-casio-abi-fxcf50)
lib-cflags += -D __SUPPORT_CASIO_ABI_FXCG50

View File

@ -13,7 +13,7 @@
** and may be reused.
*/
_close:
casio_trapa(__NR_close)
casio_trapa(__NR_Bfile_CloseFile)
rts
nop
.end