# HG changeset patch # User Andreas Schiffler # Date 1289919806 28800 # Node ID a2cf0174e5aba008a4c11668141473e317ee53bb # Parent 67acc9ab60ffd2a176357df29b1d1d999b536e5c Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX builds. -- user: Andreas Schiffler branch 'default' changed include/SDL_config_macosx.h changed src/video/cocoa/SDL_cocoashape.m diff -r 67acc9ab60ff -r a2cf0174e5ab include/SDL_config_macosx.h --- a/include/SDL_config_macosx.h Sat Oct 16 17:15:19 2010 -0700 +++ b/include/SDL_config_macosx.h Tue Nov 16 07:03:26 2010 -0800 @@ -108,6 +108,8 @@ #define HAVE_NANOSLEEP 1 #define HAVE_SYSCONF 1 #define HAVE_SYSCTLBYNAME 1 +#define HAVE_ATAN 1 +#define HAVE_ATAN2 1 /* Enable various audio drivers */ #define SDL_AUDIO_DRIVER_COREAUDIO 1 diff -r 67acc9ab60ff -r a2cf0174e5ab src/video/cocoa/SDL_cocoashape.m --- a/src/video/cocoa/SDL_cocoashape.m Sat Oct 16 17:15:19 2010 -0700 +++ b/src/video/cocoa/SDL_cocoashape.m Tue Nov 16 07:03:26 2010 -0800 @@ -23,7 +23,7 @@ #include "SDL_cocoavideo.h" #include "SDL_shape.h" #include "SDL_cocoashape.h" -#include "../src/video/SDL_sysvideo.h" +#include "../SDL_sysvideo.h" SDL_WindowShaper* Cocoa_CreateShaper(SDL_Window* window) {