removing the GetOutlinePen() macro from graphics/gfxmacros.h (#74)

* removing the GetOutlinePen() macro from graphics/gfxmacros.h as this is causing compiler warnings due to conflicts with the graphics.h inline macros. This refs #63.
* modified macros to define GetOPen() rather then GetOutlinePen() which should fix the duplicate macro definition macros.
This commit is contained in:
Jens Maus 2017-01-10 21:52:29 +01:00 committed by Krystian Bacławski
parent e20c3d2c4a
commit c383c1438d
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- NDK_3.9/Include/include_h/graphics/gfxmacros.h.orig 2017-01-09 22:05:16.180477595 +0100
+++ NDK_3.9/Include/include_h/graphics/gfxmacros.h 2017-01-09 22:06:45.054452637 +0100
@@ -56,7 +56,7 @@
#define SafeSetWriteMask(w,m) {if (GfxBase->LibNode.lib_Version<39) { (w)->Mask = (m);} else SetWriteMask(w,m); }
/* synonym for GetOPen for consistency with SetOutlinePen */
-#define GetOutlinePen(rp) GetOPen(rp)
+#define GetOPen(rp) GetOutlinePen(rp)
#define BNDRYOFF(w) {(w)->Flags &= ~AREAOUTLINE;}
@@ -117,7 +117,7 @@
} while (0)
/* synonym for GetOPen for consistency with SetOutlinePen */
-#define GetOutlinePen(rp) GetOPen(rp)
+#define GetOPen(rp) GetOutlinePen(rp)
#define BNDRYOFF(w) do { \