]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/xpm/parse.c
Added a param to ::Open() to allow the programmer to specify whether opening the...
[wxWidgets.git] / src / mac / xpm / parse.c
index 905666777ff928eb41cefd3e37b66a8d0aa2b21a..fdf19f342060c21761e2dabe1f6b7abb21bc76a1 100644 (file)
@@ -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, '_');