From c383c1438df619a64cfd187d232b8f3d032e6911 Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Tue, 10 Jan 2017 21:52:29 +0100 Subject: [PATCH] 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. --- .../include_h/graphics/gfxmacros.h.diff | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 patches/NDK_3.9/Include/include_h/graphics/gfxmacros.h.diff diff --git a/patches/NDK_3.9/Include/include_h/graphics/gfxmacros.h.diff b/patches/NDK_3.9/Include/include_h/graphics/gfxmacros.h.diff new file mode 100644 index 0000000..f96e433 --- /dev/null +++ b/patches/NDK_3.9/Include/include_h/graphics/gfxmacros.h.diff @@ -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 { \