diff options
Diffstat (limited to 'code/renderer')
-rw-r--r-- | code/renderer/tr_local.h | 2 | ||||
-rw-r--r-- | code/renderer/tr_main.c | 2 | ||||
-rw-r--r-- | code/renderer/tr_shade_calc.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/code/renderer/tr_local.h b/code/renderer/tr_local.h index d1dc328..0ff0157 100644 --- a/code/renderer/tr_local.h +++ b/code/renderer/tr_local.h @@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA typedef unsigned int glIndex_t; // fast float to int conversion -#if id386 && !( (defined __GNUC__ ) && (defined __i386__ ) ) // rb010123 +#if id386 && !defined(__GNUC__) long myftol( float f ); #else #define myftol(x) ((int)(x)) diff --git a/code/renderer/tr_main.c b/code/renderer/tr_main.c index 294fdb4..6111248 100644 --- a/code/renderer/tr_main.c +++ b/code/renderer/tr_main.c @@ -1004,7 +1004,7 @@ DRAWSURF SORTING R_Radix =============== */ -static __inline void R_Radix( int byte, int size, drawSurf_t *source, drawSurf_t *dest ) +static ID_INLINE void R_Radix( int byte, int size, drawSurf_t *source, drawSurf_t *dest ) { int count[ 256 ] = { 0 }; int index[ 256 ]; diff --git a/code/renderer/tr_shade_calc.c b/code/renderer/tr_shade_calc.c index 859beba..27bb89a 100644 --- a/code/renderer/tr_shade_calc.c +++ b/code/renderer/tr_shade_calc.c @@ -1022,7 +1022,7 @@ void RB_CalcRotateTexCoords( float degsPerSecond, float *st ) -#if id386 && !( (defined __GNUC__ ) && (defined __i386__ ) ) // rb010123 +#if id386 && !defined(__GNUC__) long myftol( float f ) { static int tmp; |