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-gcc43.patch

23 lines
561 B

--- scorched.old/src/common/common/main.h
+++ scorched/src/common/common/main.h
@@ -40,7 +40,7 @@
void _no_storage()
{
printf("Failed to allocate memory!!");
- std::exit(1);
+ exit(1);
}
void run_main(int argc, char *argv[], OptionsParameters &params)
--- scorched.old/src/common/porting/windows.h
+++ scorched/src/common/porting/windows.h
@@ -20,7 +20,7 @@
typedef unsigned short WORD;
typedef unsigned char BYTE;
-typedef int HWND;
+// typedef int HWND;
typedef void * HINSTANCE;
typedef int WPARAM;
typedef int LPARAM;