• Ryan C. Gordon's avatar
    From: Laurence Passmore · db2fe20a
    Ryan C. Gordon authored
    Date: Mon, 26 Mar 2007 23:22:45 +0100
    To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@lists.libsdl.org>
    Subject: [SDL] SDL_config_macosx.h: MAC_OS_X_VERSION_MIN_REQUIRED
    
    Hi,
    
    I just compiled my SDL application on Mac OS X with -Wundef and it
    threw a number of errors. Of note was:
    
         SDL_config_macosx.h: 34
         warning: "MAC_OS_X_VERSION_MIN_REQUIRED" is not defined
    
    Line 34 is:
    
         #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined (__POWERPC__)) )
    
    Now according to this mailing on the Apple developer lists:
    
         http://lists.apple.com/archives/Xcode-users/2005/May/msg00602.html
    
    that particular #define was removed from the gcc compiler defaults
    and AvailabilityMacros.h (/usr/include/AvailabilityMacros.h) should
    be pulled in directly instead.
    
    Would someone closer to the Mac OS X version of SDL be willing to
    make that change please? Thanks.
    
    Laurence Passmore
    Homeworld SDL @ www.homeworldsdl.org
    
    --HG--
    branch : SDL-1.2
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402286
    db2fe20a
Name
Last commit
Last update
..
SDL.h Loading commit data...
SDL_active.h Loading commit data...
SDL_audio.h Loading commit data...
SDL_byteorder.h Loading commit data...
SDL_cdrom.h Loading commit data...
SDL_config.h.default Loading commit data...
SDL_config.h.in Loading commit data...
SDL_config_dreamcast.h Loading commit data...
SDL_config_macos.h Loading commit data...
SDL_config_macosx.h Loading commit data...
SDL_config_minimal.h Loading commit data...
SDL_config_os2.h Loading commit data...
SDL_config_win32.h Loading commit data...
SDL_copying.h Loading commit data...
SDL_cpuinfo.h Loading commit data...
SDL_endian.h Loading commit data...
SDL_error.h Loading commit data...
SDL_events.h Loading commit data...
SDL_getenv.h Loading commit data...
SDL_joystick.h Loading commit data...
SDL_keyboard.h Loading commit data...
SDL_keysym.h Loading commit data...
SDL_loadso.h Loading commit data...
SDL_main.h Loading commit data...
SDL_mouse.h Loading commit data...
SDL_mutex.h Loading commit data...
SDL_name.h Loading commit data...
SDL_opengl.h Loading commit data...
SDL_platform.h Loading commit data...
SDL_quit.h Loading commit data...
SDL_rwops.h Loading commit data...
SDL_stdinc.h Loading commit data...
SDL_syswm.h Loading commit data...
SDL_thread.h Loading commit data...
SDL_timer.h Loading commit data...
SDL_types.h Loading commit data...
SDL_version.h Loading commit data...
SDL_video.h Loading commit data...
begin_code.h Loading commit data...
close_code.h Loading commit data...