Commit 1a348aac4f858939b0ef7d72aab66b8dacfb877a

Philipp Wiesemann 2015-06-17T21:05:25

Android: Fixed two warnings.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/thread/pthread/SDL_systhread.c b/src/thread/pthread/SDL_systhread.c
index a36e384..c77e31b 100644
--- a/src/thread/pthread/SDL_systhread.c
+++ b/src/thread/pthread/SDL_systhread.c
@@ -130,10 +130,10 @@ SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
 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__)