mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
92db51883a
This is needed, because Wine code expects RtlUnwind to restore the non-volatile registers, before returning, but ours / the native one doesn't do that. Should fix CORE-19392 and CORE-19397
33 lines
728 B
CMake
33 lines
728 B
CMake
|
|
list(APPEND CRT_WINE_SOURCE
|
|
wine/cpp.c
|
|
wine/except.c
|
|
wine/heap.c
|
|
wine/undname.c
|
|
)
|
|
|
|
if(ARCH STREQUAL "i386")
|
|
list(APPEND CRT_WINE_SOURCE
|
|
wine/except_i386.c
|
|
)
|
|
list(APPEND CRT_WINE_ASM_SOURCE
|
|
wine/rosglue_i386.s
|
|
)
|
|
elseif(ARCH STREQUAL "amd64")
|
|
list(APPEND CRT_WINE_SOURCE
|
|
wine/except_x86_64.c
|
|
)
|
|
elseif(ARCH STREQUAL "arm")
|
|
list(APPEND CRT_WINE_SOURCE
|
|
wine/except_arm.c
|
|
)
|
|
elseif(ARCH STREQUAL "arm64")
|
|
list(APPEND CRT_WINE_SOURCE
|
|
wine/except_arm64.c
|
|
)
|
|
endif()
|
|
|
|
# includes for wine code
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
|
|
#set_source_files_properties(${CRT_WINE_SOURCE} PROPERTIES INCLUDE_DIRECTORIES)
|