Author: tfaber
Date: Sun Oct 2 19:08:11 2011
New Revision: 53933
URL:
http://svn.reactos.org/svn/reactos?rev=53933&view=rev
Log:
[NTOSKRNL] - Fix MSVC build
[INCLUDE/C++] - Fix some typos in (obviously never used) typeinfo header
[MSVCRTEX] - Use _DLL instead of _M_CEE_PURE
Modified:
trunk/reactos/include/c++/typeinfo
trunk/reactos/lib/sdk/crt/msvcrtex.cmake
trunk/reactos/ntoskrnl/ke/i386/cpu.c
Modified: trunk/reactos/include/c++/typeinfo
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/typeinfo?r…
==============================================================================
--- trunk/reactos/include/c++/typeinfo [iso-8859-1] (original)
+++ trunk/reactos/include/c++/typeinfo [iso-8859-1] Sun Oct 2 19:08:11 2011
@@ -13,7 +13,7 @@
class type_info {
public:
virtual ~type_info();
- bool before (const type_info& rhs) const;
+ bool before (const type_info& arg) const
{ return __name < __arg.__name; }
bool operator==(const type_info& __arg) const
{ return __name == __arg.__name; }
Modified: trunk/reactos/lib/sdk/crt/msvcrtex.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/msvcrtex.cmake…
==============================================================================
--- trunk/reactos/lib/sdk/crt/msvcrtex.cmake [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/msvcrtex.cmake [iso-8859-1] Sun Oct 2 19:08:11 2011
@@ -62,7 +62,7 @@
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)
Modified: trunk/reactos/ntoskrnl/ke/i386/cpu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/cpu.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/cpu.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/cpu.c [iso-8859-1] Sun Oct 2 19:08:11 2011
@@ -1289,7 +1289,7 @@
fdiv Value2
fmul Value2
fld Value1
- fsubp
+ fsubp st(1), st(0)
fistp ErrataPresent
};
#endif