src/main/win32/SDL_win32_main.c
changeset 766 ed57c876700d
parent 754 623b453a3219
child 1286 d7bca8c8161e
equal deleted inserted replaced
765:4c2ba6161939 766:ed57c876700d
    12 #include <windows.h>
    12 #include <windows.h>
    13 #include <malloc.h>			/* For _alloca() */
    13 #include <malloc.h>			/* For _alloca() */
    14 
    14 
    15 #ifdef _WIN32_WCE
    15 #ifdef _WIN32_WCE
    16 # define DIR_SEPERATOR TEXT("\\")
    16 # define DIR_SEPERATOR TEXT("\\")
    17 # define _getcwd(str,len)	wcscpy(str,DIR_SEPERATOR);
    17 # undef _getcwd
    18 # define setbuf(x)
    18 # define _getcwd(str,len)	wcscpy(str,TEXT(""))
    19 # define setvbuf(x)
    19 # define setbuf(f,b)
       
    20 # define setvbuf(w,x,y,z)
    20 # define fopen		_wfopen
    21 # define fopen		_wfopen
    21 # define freopen	_wfreopen
    22 # define freopen	_wfreopen
    22 # define remove(x)	DeleteFile(x)
    23 # define remove(x)	DeleteFile(x)
    23 # define strcat		wcscat
    24 # define strcat		wcscat
    24 #else
    25 #else