SDL/src
Sam Lantinga 4598903548 Partial fix for bug 2758 - Android issues with NDK r10c and API-21
Sylvain

When using API 21 and running on an old device (android < 5.0 ?) some function are missing.

functions are (at least) : signal, sigemptyset, atof, stpcpy (strcat and strcpy), srand, rand.


Very few modifications on SDL to get this working :

on SDL
======

Undefine android configuration :

HAVE_SIGNAL
HAVE_SIGACTION
HAVE_ATOF

In "SDL_systrhead.c", comment out the few block of lines with "sigemptyset".

Android.mk:
remove the compilation of "test" directory because it contains a few rand/srand calls

Also, there are more discussions about this in internet :
https://groups.google.com/forum/#!topic/android-ndk/RjO9WmG9pfE
http://stackoverflow.com/questions/25475055/android-ndk-load-library-cannot-locate-srand
2015-06-17 00:07:45 -07:00
..
atomic Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
audio AIX: Fixed nearly impossible file descriptor leak. 2015-06-04 17:52:51 +02:00
core Make some string literals "const char *", not "char *" (thanks, Martin!). 2015-06-12 11:58:31 -04:00
cpuinfo Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
dynapi Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
events Fixed crash if allocation for touch device failed. 2015-06-12 21:10:31 +02:00
file Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
filesystem Windows SDL_GetBasePath: free string on failure. 2015-05-28 15:36:27 -04:00
haptic Haptic/Linux: Keep track of device numbers properly to track duplicates. 2015-06-16 00:57:45 -04:00
joystick Fixed bug 2948 - [Android] Arrow keys from external keyboard are not received 2015-06-17 00:00:53 -07:00
libm Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
loadso Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
main Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
power Linux: Implemented sysfs-based version of SDL_GetPowerInfo(). 2015-06-03 13:11:28 -07:00
render Fixed bug 2908 - Fix clang warnings 2015-06-14 19:10:51 -07:00
stdlib Let's assume that if VS2005 and VS2010 do it, VS2008 probably does, too. 2015-06-07 20:00:20 -04:00
test Some setups need _GNU_SOURCE to make LLONG_MAX available (thanks, Ozkan!). 2015-05-26 16:31:11 -04:00
thread Partial fix for bug 2758 - Android issues with NDK r10c and API-21 2015-06-17 00:07:45 -07:00
timer Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
video Fixed bug 3015 - grab mouse inconsistent state 2015-06-15 23:44:08 -07:00
SDL.c Stack hint should look for 0, not -1, and not care about environment variables. 2015-05-26 21:19:23 -04:00
SDL_assert.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_assert_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_error.c Fixed bug 2210 - Initializing Video produces unnecessary errors 2015-05-28 12:31:25 -07:00
SDL_error_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_hints.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_internal.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_log.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00