From 132d5fad266b1af8ea0cc61c8d55192113f14e2b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 18 Jun 2014 01:50:10 +0200 Subject: use, and define, __GCC__ rather than usign __GNUC__ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/lib/fake-w32-gdi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/fake-w32-gdi.c') diff --git a/src/lib/fake-w32-gdi.c b/src/lib/fake-w32-gdi.c index fe4732e..f151186 100644 --- a/src/lib/fake-w32-gdi.c +++ b/src/lib/fake-w32-gdi.c @@ -205,7 +205,7 @@ int GetDeviceCaps(HDC hDC, int nIndex) /* xcb violates the rule to never return struct:s. */ -#ifdef __GNUC__ +#ifdef __GCC__ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Waggregate-return" #endif @@ -320,7 +320,7 @@ HDC CreateDC(LPCTSTR restrict lpszDriver, LPCTSTR restrict lpszDevice, } -#ifdef __GNUC__ +#ifdef __GCC__ # pragma GCC diagnostic pop #endif -- cgit v1.2.3-70-g09d2