• Sam Lantinga's avatar
    Date: Sat, 5 Apr 2008 19:54:28 -0700 · f4270729
    Sam Lantinga authored
    From: "Chris Peterson"
    To: sdl@lists.libsdl.org
    Subject: [SDL] [PATCH] SDLMain.m: fix a bug and some warnings for Mac OS X
    
    Here are some small fixes for the src/main/macosx/SDLMain.m source
    file used by Mac OS X apps:
    
    1. setupWorkingDirectory() called chdir() within an assert(), which
    gets compiled out in non-debug builds.
    
    2. When some of gcc's optional warnings are enabled, it complains
    about some implicit casts and the use of #import in SDLMain.m.
    
    --HG--
    branch : SDL-1.2
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402750
    f4270729
Name
Last commit
Last update
..
audio Loading commit data...
cdrom Loading commit data...
cpuinfo Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
loadso Loading commit data...
main Loading commit data...
stdlib Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
SDL.c Loading commit data...
SDL_error.c Loading commit data...
SDL_error_c.h Loading commit data...
SDL_fatal.c Loading commit data...
SDL_fatal.h Loading commit data...