Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX …
Browse files Browse the repository at this point in the history
…builds.

--
user: Andreas Schiffler <aschiffler@ferzkopp.net>
branch 'default'
changed include/SDL_config_macosx.h
changed src/video/cocoa/SDL_cocoashape.m
  • Loading branch information
ferzkopp committed Nov 16, 2010
1 parent 4fd1bf3 commit 23bd0cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/SDL_config_macosx.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoashape.m
Expand Up @@ -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) {
Expand Down

0 comments on commit 23bd0cc

Please sign in to comment.