X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0240e8b1aa935d43689b0b8ec36de3c06c1a4758..a92d972108f87b7ce33a9e2353c32a7a649097eb:/src/mac/xpm/parse.c diff --git a/src/mac/xpm/parse.c b/src/mac/xpm/parse.c index c7716897b8..fdf19f3420 100644 --- a/src/mac/xpm/parse.c +++ b/src/mac/xpm/parse.c @@ -38,7 +38,7 @@ * HeDu (hedu@cul-ipn.uni-kiel.de) 4/94 */ -#include "xpmi.h" +#include "XpmI.h" #include LFUNC(ParsePixels, int, (xpmData *data, unsigned int width, @@ -111,7 +111,8 @@ xpmParseValues(data, width, height, ncolors, cpp, ptr = buf; got_one = False; while (!got_one) { - #ifdef macintosh // we have a strange parameter problem here + #if defined(macintosh) || defined(__APPLE__) + // we have a strange parameter problem here ptr = strchr(ptr, '_'); // index #else ptr = index(ptr, '_');