]> git.pld-linux.org Git - packages/scorched3d.git/blame - scorched3d-types.patch
- kill unused typedefs some of which conflict with ODBC headers (included by wx)
[packages/scorched3d.git] / scorched3d-types.patch
CommitLineData
3393a8cf
JB
1--- scorched/src/porting/windows.h.orig 2004-11-28 20:25:45.000000000 +0100
2+++ scorched/src/porting/windows.h 2007-12-02 03:05:59.878393376 +0100
3@@ -9,33 +9,10 @@
4 #include <ctype.h>
5 #include <common/Defines.h>
6
7-typedef char * LPSTR;
8-typedef const char * LPCTSTR;
9-typedef unsigned int DWORD;
10-typedef unsigned int * LPDWORD;
11-typedef unsigned char * LPBYTE;
12-typedef int INT;
13-typedef long LONG;
14-typedef unsigned int UINT;
15-typedef unsigned short WORD;
16-typedef unsigned char BYTE;
17-
18-typedef int HWND;
19-typedef void * HINSTANCE;
20-typedef int WPARAM;
21-typedef int LPARAM;
22-typedef int LRESULT;
23-typedef void * HDC;
24-typedef void * HGLRC;
25-
26 #define _strnicmp(a,b,c) strncasecmp(a,b,c)
27 #define stricmp(a,b) strcasecmp(a,b)
28 #define _strlwr(a) { for (char *b=a; *b; b++) *b=tolower(*b); }
29
30-/* registry */
31-typedef int HKEY;
32-#define HKEY_CURRENT_USER 0
33-
34 #ifndef TRUE
35 #define TRUE true
36 #endif
This page took 0.131412 seconds and 4 git commands to generate.