Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX builds.
authorAndreas Schiffler <aschiffler@ferzkopp.net>
Tue, 16 Nov 2010 07:03:26 -0800
changeset 4907a2cf0174e5ab
parent 4906 67acc9ab60ff
child 4908 9b9dc9fc7df2
Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX builds.

--
user: Andreas Schiffler <aschiffler@ferzkopp.net>
branch 'default'
changed include/SDL_config_macosx.h
changed src/video/cocoa/SDL_cocoashape.m
include/SDL_config_macosx.h
src/video/cocoa/SDL_cocoashape.m
     1.1 --- a/include/SDL_config_macosx.h	Sat Oct 16 17:15:19 2010 -0700
     1.2 +++ b/include/SDL_config_macosx.h	Tue Nov 16 07:03:26 2010 -0800
     1.3 @@ -108,6 +108,8 @@
     1.4  #define HAVE_NANOSLEEP	1
     1.5  #define HAVE_SYSCONF	1
     1.6  #define HAVE_SYSCTLBYNAME 1
     1.7 +#define HAVE_ATAN 1
     1.8 +#define HAVE_ATAN2 1
     1.9  
    1.10  /* Enable various audio drivers */
    1.11  #define SDL_AUDIO_DRIVER_COREAUDIO	1
     2.1 --- a/src/video/cocoa/SDL_cocoashape.m	Sat Oct 16 17:15:19 2010 -0700
     2.2 +++ b/src/video/cocoa/SDL_cocoashape.m	Tue Nov 16 07:03:26 2010 -0800
     2.3 @@ -23,7 +23,7 @@
     2.4  #include "SDL_cocoavideo.h"
     2.5  #include "SDL_shape.h"
     2.6  #include "SDL_cocoashape.h"
     2.7 -#include "../src/video/SDL_sysvideo.h"
     2.8 +#include "../SDL_sysvideo.h"
     2.9  
    2.10  SDL_WindowShaper*
    2.11  Cocoa_CreateShaper(SDL_Window* window) {