Fixed compiler warning on Android
authorSam Lantinga <slouken@libsdl.org>
Sun, 20 Jan 2019 12:02:12 -0800
changeset 12562d21956a01eed
parent 12561 d4d5e1272239
child 12563 db549862a09a
Fixed compiler warning on Android
src/video/android/SDL_androidevents.c
     1.1 --- a/src/video/android/SDL_androidevents.c	Sat Jan 19 16:47:43 2019 +0100
     1.2 +++ b/src/video/android/SDL_androidevents.c	Sun Jan 20 12:02:12 2019 -0800
     1.3 @@ -49,12 +49,14 @@
     1.4  static void openslES_PauseDevices(void) {}
     1.5  #endif
     1.6  
     1.7 +#if SDL_ANDROID_BLOCK_ON_PAUSE
     1.8  /* Number of 'type' events in the event queue */
     1.9  static int
    1.10  SDL_NumberOfEvents(Uint32 type)
    1.11  {
    1.12      return SDL_PeepEvents(NULL, 0, SDL_PEEKEVENT, type, type);
    1.13  }
    1.14 +#endif /* SDL_ANDROID_BLOCK_ON_PAUSE */
    1.15  
    1.16  static void
    1.17  android_egl_context_restore(SDL_Window *window)
    1.18 @@ -186,7 +188,7 @@
    1.19      }
    1.20  }
    1.21  
    1.22 -#endif
    1.23 +#endif /* SDL_ANDROID_BLOCK_ON_PAUSE */
    1.24  
    1.25  #endif /* SDL_VIDEO_DRIVER_ANDROID */
    1.26