From: Vadim Zeitlin Date: Thu, 23 Dec 2010 12:47:53 +0000 (+0000) Subject: Correct Mac OX/iPhone check in libpng. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ed8f0b067521d3b86db3a73c5843aea6f3b13605 Correct Mac OX/iPhone check in libpng. Correct the syntax of preprocessor check for wxOSX_USE_IPHONE in libpng, it got somehow broken during upgrade to 1.4.4. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/png/pngpriv.h b/src/png/pngpriv.h index 400dccab55..19807e83c5 100644 --- a/src/png/pngpriv.h +++ b/src/png/pngpriv.h @@ -44,7 +44,7 @@ */ #ifdef PNG_FLOATING_POINT_SUPPORTED -# ifdef MACOS && !wxOSX_USE_IPHONE +# if defined(MACOS) && !wxOSX_USE_IPHONE /* We need to check that hasn't already been included earlier * as it seems it doesn't agree with , yet we should really use * if possible.