mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-24 13:01:58 +00:00
compile fixes for newer sdl
This commit is contained in:
parent
76bee6c8ab
commit
7dccb4388d
1 changed files with 7 additions and 3 deletions
|
@ -38,10 +38,10 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <io.h>
|
|
||||||
#include <conio.h>
|
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
# include <io.h>
|
||||||
|
# include <conio.h>
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# include <stdarg.h>
|
# include <stdarg.h>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
@ -235,7 +235,11 @@ Sys_Init_Cvars (void)
|
||||||
Cvar_Set (sys_nostdout, "1");
|
Cvar_Set (sys_nostdout, "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
C_LINKAGE int
|
#ifndef SDL_main
|
||||||
|
# define SDL_main main
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int
|
||||||
SDL_main (int c, char **v)
|
SDL_main (int c, char **v)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue