remove __APPLE__ code not used by __IOS__

This commit is contained in:
Mark Kim 2021-03-22 22:02:39 -04:00
parent 5c57cd9c53
commit c279e823b1

View file

@ -7945,7 +7945,7 @@ static void load_stamps(SDL_Surface * screen)
load_stamp_dir(screen, homedirdir); load_stamp_dir(screen, homedirdir);
load_stamp_dir(screen, DATA_PREFIX "stamps"); load_stamp_dir(screen, DATA_PREFIX "stamps");
#ifdef __APPLE__ #ifdef __MACOS__
load_stamp_dir(screen, "Resources/stamps"); load_stamp_dir(screen, "Resources/stamps");
load_stamp_dir(screen, "/Library/Application Support/TuxPaint/stamps"); load_stamp_dir(screen, "/Library/Application Support/TuxPaint/stamps");
#endif #endif
@ -25396,7 +25396,7 @@ int main(int argc, char *argv[])
CLOCK_ASM(time2); CLOCK_ASM(time2);
#endif #endif
#if defined(__APPLE__) #if defined(__MACOS__)
/* Pango uses Fontconfig which requires /opt/local/etc/fonts/fonts.conf. This /* Pango uses Fontconfig which requires /opt/local/etc/fonts/fonts.conf. This
* file may not exist on the runtime system, however, so we copy the file * file may not exist on the runtime system, however, so we copy the file
* into our app bundle at compile time, and tell Fontconfig here to look for * into our app bundle at compile time, and tell Fontconfig here to look for