WinRT: build fix for SDL_assert.c
authorDavid Ludwig <dludwig@pobox.com>
Sun, 04 Nov 2012 13:26:53 -0500
changeset 834199c7c87774d5
parent 8339 aee5d42068ac
child 8342 05d7aa70928e
WinRT: build fix for SDL_assert.c
src/SDL_assert.c
     1.1 --- a/src/SDL_assert.c	Sun Nov 04 13:22:40 2012 -0500
     1.2 +++ b/src/SDL_assert.c	Sun Nov 04 13:26:53 2012 -0500
     1.3 @@ -37,8 +37,10 @@
     1.4  #else  /* fprintf, _exit(), etc. */
     1.5  #include <stdio.h>
     1.6  #include <stdlib.h>
     1.7 +#if ! defined(__WINRT__)
     1.8  #include <unistd.h>
     1.9  #endif
    1.10 +#endif
    1.11  
    1.12  static SDL_assert_state
    1.13  SDL_PromptAssertion(const SDL_assert_data *data, void *userdata);