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