[NTOSKRNL] - Fix MSVC build
authorThomas Faber <thomas.faber@reactos.org>
Sun, 2 Oct 2011 19:08:11 +0000 (19:08 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 2 Oct 2011 19:08:11 +0000 (19:08 +0000)
[INCLUDE/C++] - Fix some typos in (obviously never used) typeinfo header
[MSVCRTEX] - Use _DLL instead of _M_CEE_PURE

svn path=/trunk/; revision=53933

reactos/include/c++/typeinfo
reactos/lib/sdk/crt/msvcrtex.cmake
reactos/ntoskrnl/ke/i386/cpu.c

index 0db9929..b364733 100644 (file)
@@ -13,7 +13,7 @@ namespace std
     class type_info {\r
     public:\r
         virtual ~type_info();\r
-        bool before (const type_info& rhs) const;\r
+        bool before (const type_info& arg) const\r
             { return __name < __arg.__name; }\r
         bool operator==(const type_info& __arg) const\r
             { return __name == __arg.__name; }\r
index 62b6dcf..b54f176 100644 (file)
@@ -62,7 +62,7 @@ else()
 endif()
 
 add_library(msvcrtex ${MSVCRTEX_SOURCE})
-add_target_compile_definitions(msvcrtex _M_CEE_PURE)
+add_target_compile_definitions(msvcrtex _DLL)
 set_source_files_properties(startup/crtdll.c PROPERTIES COMPILE_DEFINITIONS CRTDLL)
 
 if(NOT MSVC)
index f40e630..f07b690 100644 (file)
@@ -1289,7 +1289,7 @@ KiIsNpxErrataPresent(VOID)
         fdiv Value2
         fmul Value2
         fld Value1
-        fsubp
+        fsubp st(1), st(0)
         fistp ErrataPresent
     };
 #endif