Mercurial > sdl-ios-xcode
comparison 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 |
comparison
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 |