diff options
| author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-09-25 22:04:51 +0000 | 
|---|---|---|
| committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-09-25 22:04:51 +0000 | 
| commit | 4a17650af74aa4b90c0c258d3aedff49ab2ac60b (patch) | |
| tree | 63833dadee0795214a880808bae36c7081aaf430 /code/qcommon | |
| parent | 2202e36a35f4534b340b45b876482b1f6bf2a955 (diff) | |
| download | ioquake3-aero-4a17650af74aa4b90c0c258d3aedff49ab2ac60b.tar.gz ioquake3-aero-4a17650af74aa4b90c0c258d3aedff49ab2ac60b.zip  | |
* FreeBSD fixes/updates from Andreas Kohn
git-svn-id: svn://svn.icculus.org/quake3/trunk@107 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
| -rw-r--r-- | code/qcommon/common.c | 2 | ||||
| -rw-r--r-- | code/qcommon/vm_x86.c | 2 | 
2 files changed, 2 insertions, 2 deletions
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 <setjmp.h> -#if defined __linux__ || defined MACOS_X +#if defined __linux__ || defined MACOS_X || defined __FreeBSD__  #include <netinet/in.h>  #else  #include <winsock.h> 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  | 
