mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
iclient.h: Fix include error due to missing userid.h
mathlib.h: Fix compiling under Clang due to "register" being deprecated
This commit is contained in:
parent
39ed87570b
commit
fe2fa2204b
2 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include <inetmsghandler.h>
|
||||
#include "tier0/platform.h"
|
||||
#include "userid.h"
|
||||
|
||||
class IServer;
|
||||
class INetMessage;
|
||||
|
|
|
@ -453,7 +453,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
|
|||
*sine = sin( radians );
|
||||
*cosine = cos( radians );
|
||||
#elif defined( POSIX )
|
||||
register double __cosr, __sinr;
|
||||
double __cosr, __sinr;
|
||||
__asm ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
||||
|
||||
*sine = __sinr;
|
||||
|
|
Loading…
Reference in a new issue