mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
6f559e9c54
The reason is that both RtlUTF8ToUnicodeN() and RtlUnicodeToUTF8N() are exported in both kernel and user-mode (ntdll) in Windows 7+. Conversion from and to UTF8 are fundamental enough that they indeed deserve to be in a separate file.
18 lines
433 B
CMake
18 lines
433 B
CMake
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_)
|
|
|
|
list(APPEND SOURCE
|
|
etw.c
|
|
fsrtl.c
|
|
io.c
|
|
po.c
|
|
ke.c)
|
|
|
|
add_library(ntoskrnl_vista ${SOURCE})
|
|
target_link_libraries(ntoskrnl_vista PRIVATE rtl_vista)
|
|
add_dependencies(ntoskrnl_vista bugcodes xdk)
|
|
|
|
target_compile_definitions(ntoskrnl_vista PUBLIC NTKRNLVISTA)
|