mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[MSVCRT] Fix use of __wine_RtlUnwind
This commit is contained in:
@@ -36,6 +36,7 @@ add_definitions(
|
||||
if(ARCH STREQUAL "i386")
|
||||
add_definitions(
|
||||
-D__ASM_USE_THISCALL_WRAPPER
|
||||
-DRtlUnwind=__wine_RtlUnwind # See i386/__wine_RtlUnwind.s
|
||||
)
|
||||
endif()
|
||||
|
||||
@@ -116,10 +117,6 @@ add_library(msvcrt_shared
|
||||
)
|
||||
|
||||
target_compile_definitions(msvcrt_shared PRIVATE _MSVCR_VER=0)
|
||||
if(ARCH STREQUAL "i386")
|
||||
# ASM wrapper for Wine code, implemented in i386/__wine_RtlUnwind.s
|
||||
target_compile_definitions(msvcrt_shared PRIVATE RtlUnwind=__wine_RtlUnwind)
|
||||
endif()
|
||||
add_dependencies(msvcrt_shared psdk asm)
|
||||
|
||||
###############################################################################
|
||||
|
||||
@@ -50,4 +50,9 @@ ___wine_RtlUnwind@16:
|
||||
pop ebp
|
||||
ret 16
|
||||
|
||||
|
||||
PUBLIC __imp____wine_RtlUnwind@16
|
||||
__imp____wine_RtlUnwind@16:
|
||||
.long ___wine_RtlUnwind@16
|
||||
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user