summaryrefslogtreecommitdiff
path: root/games-strategy/scorched3d/files/scorched3d-44-win32.patch
blob: 05f9c806b1c70c6dff1052aec81ea46cd8633b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- scorched.old/src/common/porting/windows.h
+++ scorched/src/common/porting/windows.h
@@ -9,6 +9,7 @@
 #include <ctype.h>
 #include <common/Defines.h>
 
+#ifdef _WIN32
 typedef char * 		LPSTR;
 typedef const char *	LPCTSTR;
 typedef unsigned int 	DWORD;
@@ -27,6 +28,7 @@
 typedef int 	LRESULT;
 typedef void *	HDC;
 typedef void *  HGLRC;
+#endif  /* _WIN32 */
 
 #define _strnicmp(a,b,c)	strncasecmp(a,b,c)
 #define stricmp(a,b)		strcasecmp(a,b)