src/SDL_assert.c
changeset 5090 327f181542f1
parent 5086 c2539ff054c8
child 5262 b530ef003506
     1.1 --- a/src/SDL_assert.c	Mon Jan 24 17:47:18 2011 -0800
     1.2 +++ b/src/SDL_assert.c	Mon Jan 24 21:20:30 2011 -0800
     1.3 @@ -27,18 +27,11 @@
     1.4  #include "video/SDL_sysvideo.h"
     1.5  
     1.6  #ifdef __WIN32__
     1.7 -#define WIN32_LEAN_AND_MEAN
     1.8 -#include <windows.h>
     1.9 +#include "core/windows/SDL_windows.h"
    1.10  
    1.11  #ifndef WS_OVERLAPPEDWINDOW
    1.12  #define WS_OVERLAPPEDWINDOW 0
    1.13  #endif
    1.14 -
    1.15 -#ifdef UNICODE
    1.16 -#define WIN_UTF8ToString(S) (WCHAR *)SDL_iconv_string("UCS-2", "UTF-8", (char *)S, SDL_strlen(S)+1)
    1.17 -#else
    1.18 -#define WIN_UTF8ToString(S) SDL_iconv_string("ASCII", "UTF-8", (char *)S, SDL_strlen(S)+1)
    1.19 -#endif
    1.20  #else  /* fprintf, _exit(), etc. */
    1.21  #include <stdio.h>
    1.22  #include <stdlib.h>