[NLS]: Kill this directory from the build. It produced nothing other than a Vista...
authorAlex Ionescu <aionescu@gmail.com>
Thu, 21 Jul 2011 15:39:28 +0000 (15:39 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 21 Jul 2011 15:39:28 +0000 (15:39 +0000)
[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

reactos/dll/CMakeLists.txt
reactos/dll/dll.rbuild
reactos/dll/win32/kernel32/CMakeLists.txt
reactos/dll/win32/kernel32/kernel32.pspec

index 77a2635..dfba1ee 100644 (file)
@@ -3,7 +3,6 @@ add_subdirectory(3rdparty)
 add_subdirectory(cpl)
 add_subdirectory(directx)
 add_subdirectory(keyboard)
-add_subdirectory(nls)
 add_subdirectory(ntdll)
 add_subdirectory(shellext)
 add_subdirectory(win32)
index c602a97..99bf1e9 100644 (file)
@@ -13,9 +13,6 @@
 <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>
index 4b779fd..4c08677 100644 (file)
@@ -1,6 +1,10 @@
 
 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)
 
index b5937b5..06c1024 100644 (file)
 @ 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()