Author: tkreuzer
Date: Thu Dec 18 08:11:09 2014
New Revision: 65718
URL:
http://svn.reactos.org/svn/reactos?rev=65718&view=rev
Log:
[GDI32]
Avoid casting RECT and POINT to RECTL and POINTL by adding a define
Modified:
trunk/reactos/win32ss/gdi/gdi32/include/precomp.h
Modified: trunk/reactos/win32ss/gdi/gdi32/include/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/include/…
==============================================================================
--- trunk/reactos/win32ss/gdi/gdi32/include/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/gdi32/include/precomp.h [iso-8859-1] Thu Dec 18 08:11:09
2014
@@ -21,6 +21,16 @@
/* SDK/DDK/NDK Headers. */
#include <windef.h>
+
+/* Avoid type casting, by defining RECT to RECTL */
+#define RECT RECTL
+#define PRECT PRECTL
+#define LPRECT LPRECTL
+#define LPCRECT LPCRECTL
+#define POINT POINTL
+#define LPPOINT PPOINTL
+#define PPOINT PPOINTL
+
#include <winbase.h>
#include <winnls.h>
#include <objbase.h>