X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0240e8b1aa935d43689b0b8ec36de3c06c1a4758..0b014ec713bbadb49460e4b23310fd325cdc0036:/src/mac/xpm/data.c?ds=inline diff --git a/src/mac/xpm/data.c b/src/mac/xpm/data.c index b26f3eb112..cba30633ab 100644 --- a/src/mac/xpm/data.c +++ b/src/mac/xpm/data.c @@ -39,7 +39,7 @@ static char *RCS_Version = "$XpmVersion: 3.4k $"; /* Internal version number */ static char *RCS_Id = "$Id$"; -#include "xpmi.h" +#include "XpmI.h" #endif #include @@ -423,7 +423,7 @@ xpmParseHeader(data) if (!l) return (XpmFileInvalid); buf[l] = '\0'; - #ifdef macintosh + #if defined(macintosh) || defined(__APPLE__) ptr = strrchr(buf, '_'); #else ptr = rindex(buf, '_');