@@ -38,7 +38,6 @@ elseif (ANDROID)
src/audio/android/*.c src/core/android/*.cpp src/joystick/android/*.c src/loadso/dlopen/*.c
src/thread/pthread/*.c src/timer/unix/*.c src/video/android/*.c
)
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wa,-mimplicit-it=thumb")
else ()
include(CheckCSourceCompiles)
@@ -19,6 +19,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
+// Modified by Lasse Oorni for Urho3D
+
#ifndef _SDL_config_android_h
#define _SDL_config_android_h
@@ -101,6 +103,8 @@
#define HAVE_SETJMP 1
#define HAVE_NANOSLEEP 1
#define HAVE_SYSCONF 1
+// Urho3D: enable use of GCC atomics
+#define HAVE_GCC_ATOMICS 1
#define SIZEOF_VOIDP 4