fix build 2

This commit is contained in:
Katayama Hirofumi MZ 2025-03-29 20:13:49 +09:00
parent 92c0e752dd
commit b7b07a22a2
5 changed files with 10 additions and 4 deletions

View file

@ -447,7 +447,6 @@ list(APPEND SOURCE_CRTDLL
# rewind.c # rewind.c
# scanf.c # scanf.c
# setbuf.c # setbuf.c
setjmp.c
# setlocale.c # setlocale.c
# setvbuf.c # setvbuf.c
# signal.c # signal.c
@ -540,10 +539,12 @@ if(ARCH STREQUAL "i386")
# _aullrem.c # _aullrem.c
# _aullshr.c # _aullshr.c
# _chkstk.c # _chkstk.c
setjmp.c
) )
elseif(ARCH STREQUAL "amd64") elseif(ARCH STREQUAL "amd64")
list(APPEND SOURCE_CRTDLL list(APPEND SOURCE_CRTDLL
# __C_specific_handler # __C_specific_handler
setjmp.c
# _setjmpex.c # _setjmpex.c
# _local_unwind.c # _local_unwind.c
# longjmp.c # longjmp.c

View file

@ -1145,7 +1145,6 @@ list(APPEND SOURCE_MSVCRT
# scanf.c # scanf.c
# scanf_s.c # scanf_s.c
# setbuf.c # setbuf.c
setjmp.c
# setlocale.c # setlocale.c
# setvbuf.c # setvbuf.c
# signal.c # signal.c
@ -1264,6 +1263,7 @@ list(APPEND SOURCE_MSVCRT
if(ARCH STREQUAL "i386") if(ARCH STREQUAL "i386")
list(APPEND SOURCE_MSVCRT list(APPEND SOURCE_MSVCRT
__getmainargs.c ##FIXME: Moved here because it doesn't work on x64 __getmainargs.c ##FIXME: Moved here because it doesn't work on x64
setjmp.c
# _CIacos.c # _CIacos.c
# _CIasin.c # _CIasin.c
# _CIatan.c # _CIatan.c
@ -1363,6 +1363,7 @@ elseif(ARCH STREQUAL "amd64")
# fmodf.c # fmodf.c
# logf.c # logf.c
# powf.c # powf.c
setjmp.c
# sinf.c # sinf.c
# sqrtf.c # sqrtf.c
) )

View file

@ -80,7 +80,6 @@ list(APPEND SOURCE_NTDLL
# memset.c # memset.c
# pow.c # pow.c
# qsort.c # qsort.c
setjmp.c
# sin.c # sin.c
sprintf.c sprintf.c
# sqrt.c # sqrt.c
@ -129,6 +128,7 @@ list(APPEND SOURCE_NTDLL
if(ARCH STREQUAL "i386") if(ARCH STREQUAL "i386")
list(APPEND SOURCE_NTDLL list(APPEND SOURCE_NTDLL
setjmp.c
# _CIpow.c # _CIpow.c
# _ftol.c # _ftol.c
# _alldiv.c # _alldiv.c
@ -147,6 +147,7 @@ if(ARCH STREQUAL "i386")
elseif(ARCH STREQUAL "amd64") elseif(ARCH STREQUAL "amd64")
list(APPEND SOURCE_NTDLL list(APPEND SOURCE_NTDLL
# __C_specific_handler # __C_specific_handler
setjmp.c
# _setjmpex.c # _setjmpex.c
# _local_unwind.c # _local_unwind.c
# longjmp.c # longjmp.c

View file

@ -14,7 +14,6 @@ list(APPEND SOURCE_STATIC
mbstowcs.c mbstowcs.c
mbtowc.c mbtowc.c
rand_s.c rand_s.c
setjmp.c
sprintf.c sprintf.c
strcpy.c strcpy.c
strlen.c strlen.c
@ -27,10 +26,12 @@ list(APPEND SOURCE_STATIC
if(ARCH STREQUAL "i386") if(ARCH STREQUAL "i386")
list(APPEND SOURCE_STATIC list(APPEND SOURCE_STATIC
# To be filled # To be filled
setjmp.c
) )
elseif(ARCH STREQUAL "amd64") elseif(ARCH STREQUAL "amd64")
list(APPEND SOURCE_STATIC list(APPEND SOURCE_STATIC
# To be filled # To be filled
setjmp.c
) )
elseif(ARCH STREQUAL "arm") elseif(ARCH STREQUAL "arm")
list(APPEND SOURCE_STATIC list(APPEND SOURCE_STATIC

View file

@ -57,7 +57,9 @@ const struct test winetest_testlist[] =
{ "_vsnwprintf", func__vsnwprintf }, { "_vsnwprintf", func__vsnwprintf },
{ "mbstowcs", func_mbstowcs }, { "mbstowcs", func_mbstowcs },
{ "mbtowc", func_mbtowc }, { "mbtowc", func_mbtowc },
#if defined(_M_IX86) || defined(_M_AMD64)
{ "setjmp", func_setjmp }, { "setjmp", func_setjmp },
#endif
{ "_snprintf", func__snprintf }, { "_snprintf", func__snprintf },
{ "_snwprintf", func__snwprintf }, { "_snwprintf", func__snwprintf },
{ "sprintf", func_sprintf }, { "sprintf", func_sprintf },