Android: Fixed two warnings.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 17 Jun 2015 21:05:25 +0200
changeset 9755 e4f04633f291
parent 9754 fe6acfd4652c
child 9756 2069629bd155
Android: Fixed two warnings.
src/thread/pthread/SDL_systhread.c
--- a/src/thread/pthread/SDL_systhread.c	Wed Jun 17 13:02:41 2015 -0400
+++ b/src/thread/pthread/SDL_systhread.c	Wed Jun 17 21:05:25 2015 +0200
@@ -130,10 +130,10 @@
 void
 SDL_SYS_SetupThread(const char *name)
 {
-#ifndef __NACL__
+#if !defined(__ANDROID__) && !defined(__NACL__)
     int i;
     sigset_t mask;
-#endif
+#endif /* !__ANDROID__ && !__NACL__ */
 
     if (name != NULL) {
         #if defined(__MACOSX__) || defined(__IPHONEOS__) || defined(__LINUX__)