Fix build on other platforms.

This commit is contained in:
Night Owl 2016-04-19 00:42:23 +05:00
parent 181396832e
commit 017bbeebbb
3 changed files with 5 additions and 3 deletions

View File

@ -67,7 +67,7 @@ enum WeaponIdType
};
//#include "vgui_TeamFortressViewport.h"
#ifdef _MSC_VER
#ifndef __linux__
void sincosf (float rad, float *sine, float *cosine)
{

View File

@ -60,7 +60,7 @@ bool CL_IsDead();
void IN_ToggleButtons( float forwardmove, float sidemove )
{
static uint moveflags = T | S;
static unsigned int moveflags = T | S;
if( forwardmove )
moveflags &= ~T;

View File

@ -31,7 +31,9 @@ GNU General Public License for more details.
#include <sys/syslimits.h>
#define OS_LIB_EXT "dylib"
#else
#include <linux/limits.h>
#ifdef __linux__
#include <linux/limits.h>
#endif
#define OS_LIB_EXT "so"
#endif