blob: 8b63d509147cfc1e7874c69453f94db64ad5d455 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff -ur scorched.old/src/common/porting/windows.h scorched/src/common/porting/windows.h
--- scorched.old/src/common/porting/windows.h 2009-12-17 15:18:41.000000000 +0200
+++ scorched/src/common/porting/windows.h 2009-12-17 15:22:20.000000000 +0200
@@ -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)
|