aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-27 21:13:47 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-27 21:13:47 +0000
commit163e8dc4db61a3daf608edf693849f99e8f2f7ba (patch)
tree59470e599d87ae1b3e2e02ee1c7b01a4f4dfbc39 /code/game
parent712aeab5985ae52245a1b749dfc5f69899ddcd0b (diff)
downloadioquake3-aero-163e8dc4db61a3daf608edf693849f99e8f2f7ba.tar.gz
ioquake3-aero-163e8dc4db61a3daf608edf693849f99e8f2f7ba.zip
add x86_64 vm. experimental, not enabled by default. you need as for it
to work. git-svn-id: svn://svn.icculus.org/quake3/trunk@188 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/game')
-rw-r--r--code/game/bg_lib.c2
-rw-r--r--code/game/bg_lib.h7
2 files changed, 9 insertions, 0 deletions
diff --git a/code/game/bg_lib.c b/code/game/bg_lib.c
index b198f72..e313087 100644
--- a/code/game/bg_lib.c
+++ b/code/game/bg_lib.c
@@ -38,6 +38,8 @@
* SUCH DAMAGE.
*/
+#include "bg_lib.h"
+
#if defined(LIBC_SCCS) && !defined(lint)
#if 0
static char sccsid[] = "@(#)qsort.c 8.1 (Berkeley) 6/4/93";
diff --git a/code/game/bg_lib.h b/code/game/bg_lib.h
index d6deb60..70603d2 100644
--- a/code/game/bg_lib.h
+++ b/code/game/bg_lib.h
@@ -23,6 +23,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// compiled for the virtual machine
// This file is NOT included on native builds
+#ifndef BG_LIB_H
+#define BG_LIB_H
+
+#ifndef NULL
+#define NULL ((void *)0)
+#endif
typedef int size_t;
@@ -89,3 +95,4 @@ int abs( int n );
double fabs( double x );
double acos( double x );
+#endif // BG_LIB_H