mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 06:42:26 +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 <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <io.h>
|
||||
#include <conio.h>
|
||||
|
||||
#ifndef _WIN32
|
||||
# include <io.h>
|
||||
# include <conio.h>
|
||||
# include <unistd.h>
|
||||
# include <stdarg.h>
|
||||
# include <string.h>
|
||||
|
@ -235,7 +235,11 @@ Sys_Init_Cvars (void)
|
|||
Cvar_Set (sys_nostdout, "1");
|
||||
}
|
||||
|
||||
C_LINKAGE int
|
||||
#ifndef SDL_main
|
||||
# define SDL_main main
|
||||
#endif
|
||||
|
||||
int
|
||||
SDL_main (int c, char **v)
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue