diff src/main/win32/SDL_win32_main.c @ 766:ed57c876700d

Date: Wed, 26 Nov 2003 01:52:02 +0800 From: "Andy Pfiffer" Subject: [SDL] patch: PocketPC 2000 diffs for release_1_2_6 I was making a backup of my current workspace of SDL for PocketPC, and thought I would send out my diffs. Apologies in advance if the patch has become whitespace mangled. These diffs are relative to CVS tag release_1_2_6, and contain (I think) all changes that have been mentioned on the mailing list in the last few months. I only have PocketPC 2000 & an ARM-based device (iPaq 3635), and I only use Embedded Visual Tools 3.0, so I can't say for sure if it breaks other PocketPC 200[023] builds.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Jan 2004 15:48:44 +0000
parents 623b453a3219
children d7bca8c8161e
line wrap: on
line diff
--- a/src/main/win32/SDL_win32_main.c	Sun Jan 04 15:40:50 2004 +0000
+++ b/src/main/win32/SDL_win32_main.c	Sun Jan 04 15:48:44 2004 +0000
@@ -14,9 +14,10 @@
 
 #ifdef _WIN32_WCE
 # define DIR_SEPERATOR TEXT("\\")
-# define _getcwd(str,len)	wcscpy(str,DIR_SEPERATOR);
-# define setbuf(x)
-# define setvbuf(x)
+# undef _getcwd
+# define _getcwd(str,len)	wcscpy(str,TEXT(""))
+# define setbuf(f,b)
+# define setvbuf(w,x,y,z)
 # define fopen		_wfopen
 # define freopen	_wfreopen
 # define remove(x)	DeleteFile(x)