Mac: Don't enable SDL_MAC_NO_SANDBOX by default.
authorJørgen P. Tjernø <jorgen@valvesoftware.com>
Thu, 08 Aug 2013 12:48:37 -0700
changeset 76077753a6f8cda8
parent 7606 bb2aa25cca1c
child 7608 3f487d7d2d1d
Mac: Don't enable SDL_MAC_NO_SANDBOX by default.

To get this functionality, you need to use -DSDL_MAC_NO_SANDBOX=1 in
your CFLAGS.
src/video/cocoa/SDL_cocoamousetap.m
     1.1 --- a/src/video/cocoa/SDL_cocoamousetap.m	Thu Aug 08 12:21:26 2013 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoamousetap.m	Thu Aug 08 12:48:37 2013 -0700
     1.3 @@ -22,8 +22,6 @@
     1.4  
     1.5  #if SDL_VIDEO_DRIVER_COCOA
     1.6  
     1.7 -#define SDL_MAC_NO_SANDBOX 1
     1.8 -
     1.9  #include "SDL_cocoamousetap.h"
    1.10  
    1.11  /* Event taps are forbidden in the Mac App Store, so we can only enable this