Fix build on other platforms.
This commit is contained in:
parent
181396832e
commit
017bbeebbb
@ -67,7 +67,7 @@ enum WeaponIdType
|
||||
};
|
||||
//#include "vgui_TeamFortressViewport.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifndef __linux__
|
||||
|
||||
void sincosf (float rad, float *sine, float *cosine)
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user