Author: akhaldi
Date: Thu Aug 11 15:14:25 2011
New Revision: 53184
URL:
http://svn.reactos.org/svn/reactos?rev=53184&view=rev
Log:
[MSVCRT]
* Improve the PCH.
Modified:
trunk/reactos/dll/win32/msvcrt/CMakeLists.txt
trunk/reactos/dll/win32/msvcrt/dllmain.c
trunk/reactos/dll/win32/msvcrt/precomp.h
Modified: trunk/reactos/dll/win32/msvcrt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/CMakeList…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:14:25 2011
@@ -23,24 +23,21 @@
add_library(msvcrt SHARED ${SOURCE})
-if (NOT MSVC)
-set_target_properties(msvcrt PROPERTIES LINK_FLAGS "-u
__seh_longjmp_unwind@4")
+if(NOT MSVC)
+ set_target_properties(msvcrt PROPERTIES LINK_FLAGS "-u
__seh_longjmp_unwind@4")
endif()
add_dependencies(msvcrt psdk)
set_entrypoint(msvcrt DllMain@12)
set_image_base(msvcrt ${baseaddress_msvcrt})
-target_link_libraries(msvcrt
- crt
- wine)
+target_link_libraries(msvcrt crt wine)
if(NOT MSVC)
- target_link_libraries(msvcrt pseh)
+ target_link_libraries(msvcrt pseh)
endif()
+add_importlibs(msvcrt kernel32 ntdll)
add_pch(msvcrt precomp.h)
-add_importlibs(msvcrt kernel32 ntdll)
add_cd_file(TARGET msvcrt DESTINATION reactos/system32 FOR all)
add_importlib_target(msvcrt.spec)
-
Modified: trunk/reactos/dll/win32/msvcrt/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/dllmain.c…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt/dllmain.c [iso-8859-1] Thu Aug 11 15:14:25 2011
@@ -21,11 +21,7 @@
*/
#include <precomp.h>
-#include <internal/wine/msvcrt.h>
-#include <locale.h>
-#include <mbctype.h>
-#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
/* EXTERNAL PROTOTYPES ********************************************************/
Modified: trunk/reactos/dll/win32/msvcrt/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/precomp.h…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt/precomp.h [iso-8859-1] Thu Aug 11 15:14:25 2011
@@ -6,4 +6,10 @@
#include <stdlib.h>
#include <windows.h>
+#include <internal/wine/msvcrt.h>
+#include <locale.h>
+#include <mbctype.h>
+
+#include "wine/debug.h"
+
#endif /* _CRT_PRECOMP_H */