]>
Commit | Line | Data |
---|---|---|
4cd5cf7f AM |
1 | --- scorched/src/common/porting/windows.h~ 2008-03-02 19:47:36.000000000 +0100 |
2 | +++ scorched/src/common/porting/windows.h 2009-07-14 14:29:04.218761432 +0200 | |
3 | @@ -9,31 +9,11 @@ | |
3393a8cf JB |
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 | ||
4cd5cf7f | 30 | /* registry */ |
3393a8cf | 31 | -typedef int HKEY; |
4cd5cf7f AM |
32 | #define HKEY_CURRENT_USER 0 |
33 | ||
3393a8cf | 34 | #ifndef TRUE |