src/stdlib/SDL_stdlib.c
changeset 7003 eeaf77005c30
parent 6885 700f1b25f77f
child 7180 3733e68edbc3
--- a/src/stdlib/SDL_stdlib.c	Fri Mar 15 01:02:30 2013 -0400
+++ b/src/stdlib/SDL_stdlib.c	Fri Mar 15 01:01:20 2013 -0400
@@ -24,6 +24,25 @@
 
 #include "SDL_stdinc.h"
 
+/* these are always #defined, make them real symbol in the library, too... */
+#undef SDL_ceil
+#undef SDL_abs
+#undef SDL_sinf
+#undef SDL_cosf
+#undef SDL_isdigit
+#undef SDL_isspace
+#undef SDL_toupper
+#undef SDL_tolower
+double SDL_ceil(double x) { return SDL_ceil_inline(x); }
+float SDL_cosf(float x) { return SDL_cosf_inline(x); }
+float SDL_sinf(float x) { return SDL_sinf_inline(x); }
+int SDL_abs(int x) { return SDL_abs_inline(x); }
+int SDL_isdigit(int x) { return SDL_isdigit_inline(x); }
+int SDL_isspace(int x) { return SDL_isspace_inline(x); }
+int SDL_toupper(int x) { return SDL_toupper_inline(x); }
+int SDL_tolower(int x) { return SDL_tolower_inline(x); }
+
+
 #ifndef HAVE_LIBC
 /* These are some C runtime intrinsics that need to be defined */