[ros-diffs] [tkreuzer] 45463: [RTL] Prevent RtlLargeInteger functions to be "occupied" by inline functions.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Feb 6 20:12:02 CET 2010


Author: tkreuzer
Date: Sat Feb  6 20:12:02 2010
New Revision: 45463

URL: http://svn.reactos.org/svn/reactos?rev=45463&view=rev
Log:
[RTL]
Prevent RtlLargeInteger functions to be "occupied" by inline functions.

Modified:
    branches/ros-amd64-bringup/reactos/lib/rtl/largeint.c

Modified: branches/ros-amd64-bringup/reactos/lib/rtl/largeint.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/rtl/largeint.c?rev=45463&r1=45462&r2=45463&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/rtl/largeint.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/lib/rtl/largeint.c [iso-8859-1] Sat Feb  6 20:12:02 2010
@@ -7,6 +7,12 @@
 
 /* INCLUDES *****************************************************************/
 
+/* Prevent that inline function with the same names are created */
+#define RtlConvertLongToLargeInteger RtlConvertLongToLargeInteger_inline
+#define RtlEnlargedIntegerMultiply RtlEnlargedIntegerMultiply_inline
+#define RtlEnlargedUnsignedDivide RtlEnlargedUnsignedDivide_inline
+#define RtlEnlargedUnsignedMultiply RtlEnlargedUnsignedMultiply_inline
+
 #include <rtl.h>
 
 #define NDEBUG
@@ -17,6 +23,7 @@
 /*
  * @implemented
  */
+#undef RtlConvertLongToLargeInteger
 LARGE_INTEGER
 NTAPI
 RtlConvertLongToLargeInteger (
@@ -49,6 +56,7 @@
 /*
  * @implemented
  */
+#undef RtlEnlargedIntegerMultiply
 LARGE_INTEGER
 NTAPI
 RtlEnlargedIntegerMultiply (
@@ -66,6 +74,7 @@
 /*
  * @implemented
  */
+#undef RtlEnlargedUnsignedDivide
 ULONG
 NTAPI
 RtlEnlargedUnsignedDivide (
@@ -83,6 +92,7 @@
 /*
  * @implemented
  */
+#undef RtlEnlargedUnsignedMultiply
 LARGE_INTEGER
 NTAPI
 RtlEnlargedUnsignedMultiply (




More information about the Ros-diffs mailing list