]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/pnghand.cpp
applied patch for compilation with gcc 3.0
[wxWidgets.git] / src / mac / pnghand.cpp
index af7b3a6f99719184168f9d3936b24f9dfcdf1d0f..5e6840f40de65adaa188c54418af153a82f5cecb 100644 (file)
@@ -414,11 +414,8 @@ bool wxPNGReader::ReadFile(char * ImageFileName)
   wxPNGReaderIter iter(this);
 
   /* open the file */
-#ifndef __UNIX__
-  fp = fopen(wxUnix2MacFilename( ImageFileName ), "rb");
-#else
   fp = fopen( ImageFileName , "rb" );
-#endif
+
   if (!fp)
     return FALSE;