[KERNEL32]: Remove GetLocaleInfoEx again.
[KERNEL32]: It seems CMAKE build doesn't like kernel32 code calling "HeapAlloc" because HeapAlloc doesn't exist -- it's a forward to RtlAllocateHeap. As a hack, add compiler defines to do the forwarding in C code as well.
svn path=/trunk/; revision=52760
add_subdirectory(cpl)
add_subdirectory(directx)
add_subdirectory(keyboard)
-add_subdirectory(nls)
add_subdirectory(ntdll)
add_subdirectory(shellext)
add_subdirectory(win32)
<directory name="keyboard">
<xi:include href="keyboard/keyboard.rbuild" />
</directory>
-<directory name="nls">
- <xi:include href="nls/nls.rbuild" />
-</directory>
<directory name="ntdll">
<xi:include href="ntdll/ntdll.rbuild" />
</directory>
add_definitions(-D_KERNEL32_)
+add_definitions(-DHeapAlloc=RtlAllocateHeap)
+add_definitions(-DHeapFree=RtlFreeHeap)
+add_definitions(-DGetProcessHeap=RtlGetProcessHeap)
+
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
@ stdcall GetLocalTime(ptr)
@ stdcall GetLocaleInfoA(long long ptr long)
@ stdcall GetLocaleInfoW(long long ptr long)
-@ stdcall GetLocaleInfoEx(wstr long wstr long) ; Vista+
@ stdcall GetLogicalDriveStringsA(long ptr)
@ stdcall GetLogicalDriveStringsW(long ptr)
@ stdcall GetLogicalDrives()