]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct Mac OX/iPhone check in libpng.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 23 Dec 2010 12:47:53 +0000 (12:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 23 Dec 2010 12:47:53 +0000 (12:47 +0000)
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

src/png/pngpriv.h

index 400dccab55dc5664b404be349de5814f5551055c..19807e83c589559c7e459d7dd959cd1d7e2a29ea 100644 (file)
@@ -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 <math.h> hasn't already been included earlier
       * as it seems it doesn't agree with <fp.h>, yet we should really use
       * <fp.h> if possible.