aboutsummaryrefslogtreecommitdiffstats
path: root/code/sys
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-11-26 20:18:53 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-11-26 20:18:53 +0000
commit325890dc089210b3eabb6bb22154e7a3d7d74a25 (patch)
tree703f9319362f5e55743a0e1e8188eb94684ed0a5 /code/sys
parentdaa6b52744a1530591e0717d99976c30e5e8e0a6 (diff)
downloadioquake3-aero-325890dc089210b3eabb6bb22154e7a3d7d74a25.tar.gz
ioquake3-aero-325890dc089210b3eabb6bb22154e7a3d7d74a25.zip
* Move MINSDL_ values to sys_local.h from Makefile/VC project
* Merge *BSD platform definitions in q_platform.h * IRIX support (Patrick Baggett <baggett.patrick@figglesoftware.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1218 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/sys')
-rw-r--r--code/sys/con_tty.c1
-rw-r--r--code/sys/sys_local.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c
index 5e499eb..ee729da 100644
--- a/code/sys/con_tty.c
+++ b/code/sys/con_tty.c
@@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <signal.h>
#include <termios.h>
#include <fcntl.h>
+#include <sys/time.h>
/*
=============================================================
diff --git a/code/sys/sys_local.h b/code/sys/sys_local.h
index 815852f..af0ed7c 100644
--- a/code/sys/sys_local.h
+++ b/code/sys/sys_local.h
@@ -23,6 +23,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../qcommon/q_shared.h"
#include "../qcommon/qcommon.h"
+// Require a minimum version of SDL
+#define MINSDL_MAJOR 1
+#define MINSDL_MINOR 2
+#define MINSDL_PATCH 7
+
// Input subsystem
void IN_Init (void);
void IN_Frame (void);