From 160fe5bc11e50b0b688cfd0c735432f83fe9401b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 3 Mar 2009 09:48:00 +0000 Subject: [PATCH] Mac OS X and iPhoneOS have the full math library --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403550 --- include/SDL_config_iphoneos.h | 12 ++++++++++++ include/SDL_config_macosx.h | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index 928976ac9..82d6731f1 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -82,6 +82,18 @@ typedef unsigned long uintptr_t; #define HAVE_SSCANF 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 +#define HAVE_CEIL 1 +#define HAVE_COPYSIGN 1 +#define HAVE_COS 1 +#define HAVE_COSF 1 +#define HAVE_FABS 1 +#define HAVE_FLOOR 1 +#define HAVE_LOG 1 +#define HAVE_POW 1 +#define HAVE_SCALBN 1 +#define HAVE_SIN 1 +#define HAVE_SINF 1 +#define HAVE_SQRT 1 #define HAVE_SIGACTION 1 #define HAVE_SETJMP 1 #define HAVE_NANOSLEEP 1 diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index c23274e15..1a4351652 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -84,6 +84,18 @@ #define HAVE_SSCANF 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 +#define HAVE_CEIL 1 +#define HAVE_COPYSIGN 1 +#define HAVE_COS 1 +#define HAVE_COSF 1 +#define HAVE_FABS 1 +#define HAVE_FLOOR 1 +#define HAVE_LOG 1 +#define HAVE_POW 1 +#define HAVE_SCALBN 1 +#define HAVE_SIN 1 +#define HAVE_SINF 1 +#define HAVE_SQRT 1 #define HAVE_SIGACTION 1 #define HAVE_SETJMP 1 #define HAVE_NANOSLEEP 1