]> git.pld-linux.org Git - packages/scorched3d.git/blob - scorched3d-types.patch
- fix building with wxWidgets 3.0
[packages/scorched3d.git] / scorched3d-types.patch
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 @@
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
This page took 0.051705 seconds and 3 git commands to generate.