diff options
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 |