Files
amigaos-cross-toolchain6/patches/NDK_3.9/Include/include_h/graphics/gfxmacros.h.diff
T
Jens Maus c383c1438d 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.
2017-01-10 21:52:29 +01:00

21 lines
720 B
Diff

--- 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 { \