forget a few __APPLE__ ifdefs; changed to OSXAPP
[xboard.git] / args.h
diff --git a/args.h b/args.h
index 9ce2b47..304278f 100644 (file)
--- a/args.h
+++ b/args.h
@@ -1614,7 +1614,7 @@ SaveSettings(char* name)
       if(*(char**)ad->argLoc == NULL) break; // just in case
       { char buf[MSG_SIZ];
         snprintf(buf, MSG_SIZ, "%s", *(char**)ad->argLoc);
       if(*(char**)ad->argLoc == NULL) break; // just in case
       { char buf[MSG_SIZ];
         snprintf(buf, MSG_SIZ, "%s", *(char**)ad->argLoc);
-#ifdef __APPLE__
+#ifdef OSXAPP
         if(strstr(buf, DATADIR) == buf)
           snprintf(buf, MSG_SIZ, "~~%s", *(char**)ad->argLoc + strlen(DATADIR));
 #endif
         if(strstr(buf, DATADIR) == buf)
           snprintf(buf, MSG_SIZ, "~~%s", *(char**)ad->argLoc + strlen(DATADIR));
 #endif