diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-03 07:33:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-03 07:33:31 +0200 |
commit | 9362c381072627b08ca42d6d9f909f9597902dfa (patch) | |
tree | 0ce35b3bdef1d078a6d3714b7a3ce6a69d54105b /src/lib/fake-w32-gdi.c | |
parent | info: m (diff) | |
download | libgamma-9362c381072627b08ca42d6d9f909f9597902dfa.tar.gz libgamma-9362c381072627b08ca42d6d9f909f9597902dfa.tar.bz2 libgamma-9362c381072627b08ca42d6d9f909f9597902dfa.tar.xz |
m fixes + print all crtc info , except connector type and subpixel order, in the test
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/lib/fake-w32-gdi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/fake-w32-gdi.c b/src/lib/fake-w32-gdi.c index c5bf8a3..c4d7c11 100644 --- a/src/lib/fake-w32-gdi.c +++ b/src/lib/fake-w32-gdi.c @@ -205,8 +205,10 @@ int GetDeviceCaps(HDC hDC, int nIndex) /* xcb violates the rule to never return struct:s. */ +#ifdef __GNUC__ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Waggregate-return" +#endif /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd372194(v=vs.85).aspx */ @@ -318,7 +320,9 @@ HDC CreateDC(LPCTSTR restrict lpszDriver, LPCTSTR restrict lpszDevice, } +#ifdef __GNUC__ # pragma GCC diagnostic pop +#endif /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd162609(v=vs.85).aspx */ |