1 |
mr_bones_ 09/12/22 04:22:38 |
2 |
|
3 |
Added: scorched3d-42.1-win32.patch |
4 |
Log: |
5 |
add patch for working around define issues again (bug #297227) |
6 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-strategy/scorched3d/files/scorched3d-42.1-win32.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/scorched3d/files/scorched3d-42.1-win32.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/scorched3d/files/scorched3d-42.1-win32.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: scorched3d-42.1-win32.patch |
15 |
=================================================================== |
16 |
diff -ur scorched.old/src/common/porting/windows.h scorched/src/common/porting/windows.h |
17 |
--- scorched.old/src/common/porting/windows.h 2009-12-17 15:18:41.000000000 +0200 |
18 |
+++ scorched/src/common/porting/windows.h 2009-12-17 15:22:20.000000000 +0200 |
19 |
@@ -9,6 +9,7 @@ |
20 |
#include <ctype.h> |
21 |
#include <common/Defines.h> |
22 |
|
23 |
+#ifdef _WIN32 |
24 |
typedef char * LPSTR; |
25 |
typedef const char * LPCTSTR; |
26 |
typedef unsigned int DWORD; |
27 |
@@ -27,6 +28,7 @@ |
28 |
typedef int LRESULT; |
29 |
typedef void * HDC; |
30 |
typedef void * HGLRC; |
31 |
+#endif /* _WIN32 */ |
32 |
|
33 |
#define _strnicmp(a,b,c) strncasecmp(a,b,c) |
34 |
#define stricmp(a,b) strcasecmp(a,b) |