Convert MONO_MARSHAL_CONV_LPSTR_STR to mono_string_to_utf16 on windows.
[mono.git] / mono / mini / CMakeLists.txt
index 7344b96170eaa8d064d7458c5acd0b119f3047d6..d748fbd39dbf0f73f782dc2ba66e35da43ff1699 100644 (file)
@@ -298,7 +298,7 @@ set(arch_built cpu-hppa.h)
 set(arch_define __hppa__)
 endif()
 
-if(PLATFORM_WIN32)
+if(HOST_WIN32)
 set(os_sources ${windows_sources})
 set(monobin_platform_ldflags)
 endif()