You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-strategy/scorched3d/files/scorched3d-44-win32.patch

19 lines
464 B

--- 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)