summaryrefslogtreecommitdiff
blob: e7f3833bf8971cb78d5571d5abe11b1db420b346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
When x11-libs/wxGTK is built with the odbc use flag, scorched3d fails to build.
bug #285384 - patch from Bob Johnson

--- scorched/src/common/porting/windows.h
+++ fix_scorched/src/common/porting/windows.h
@@ -11,8 +11,8 @@
 
 typedef char * 		LPSTR;
 typedef const char *	LPCTSTR;
-typedef unsigned int 	DWORD;
-typedef unsigned int *  LPDWORD;
+typedef unsigned long 	DWORD;
+typedef DWORD *         LPDWORD;
 typedef unsigned char * LPBYTE;
 typedef int 		INT;
 typedef long         	LONG;