From 4a17650af74aa4b90c0c258d3aedff49ab2ac60b Mon Sep 17 00:00:00 2001 From: tma Date: Sun, 25 Sep 2005 22:04:51 +0000 Subject: * FreeBSD fixes/updates from Andreas Kohn git-svn-id: svn://svn.icculus.org/quake3/trunk@107 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/common.c | 2 +- code/qcommon/vm_x86.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'code/qcommon') diff --git a/code/qcommon/common.c b/code/qcommon/common.c index aeed009..f1b52ea 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "../game/q_shared.h" #include "qcommon.h" #include -#if defined __linux__ || defined MACOS_X +#if defined __linux__ || defined MACOS_X || defined __FreeBSD__ #include #else #include diff --git a/code/qcommon/vm_x86.c b/code/qcommon/vm_x86.c index 5d2d3a7..dbc1f37 100644 --- a/code/qcommon/vm_x86.c +++ b/code/qcommon/vm_x86.c @@ -1002,7 +1002,7 @@ void VM_Compile( vm_t *vm, vmHeader_t *header ) { case OP_CVFI: #ifndef FTOL_PTR // WHENHELLISFROZENOVER // bk001213 - was used in 1.17 // not IEEE complient, but simple and fast - EmitString( "D9 07" ); // fld dword ptr [edi] + EmitString( "D9 07" ); // fld dword ptr [edi] EmitString( "DB 1F" ); // fistp dword ptr [edi] #else // FTOL_PTR // call the library conversion function -- cgit v1.2.3