src/video/cocoa/SDL_cocoamodes.m
changeset 6104 e49364c8a253
parent 6101 4b88086910d3
child 6105 3b06b03d74f4
equal deleted inserted replaced
6103:cf49f013f184 6104:e49364c8a253
    22 
    22 
    23 #if SDL_VIDEO_DRIVER_COCOA
    23 #if SDL_VIDEO_DRIVER_COCOA
    24 
    24 
    25 #include "SDL_cocoavideo.h"
    25 #include "SDL_cocoavideo.h"
    26 
    26 
    27 /* Include prototypes to avoid compiler warnings on ShowMenuBar/HideMenuBar */
    27 /* we need this for ShowMenuBar() and HideMenuBar(). */
    28 #include <Menus.h>
    28 #include <Carbon/Carbon.h>
    29 
    29 
    30 /* !!! FIXME: clean out the pre-10.6 code when it makes sense to do so. */
    30 /* !!! FIXME: clean out the pre-10.6 code when it makes sense to do so. */
    31 #define FORCE_OLD_API 0 || (MAC_OS_X_VERSION_MAX_ALLOWED < 1060)
    31 #define FORCE_OLD_API 0 || (MAC_OS_X_VERSION_MAX_ALLOWED < 1060)
    32 
    32 
    33 #if FORCE_OLD_API
    33 #if FORCE_OLD_API