aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer/tr_shade_calc.c
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-23 02:59:15 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-23 02:59:15 +0000
commit48addd68a8c8d0c026be2d3b87ea6ce23509da91 (patch)
tree51a4a3f689906393882efed44c3387851a7d3dce /code/renderer/tr_shade_calc.c
parent5427364410d9be3d29e35b2d9fd4194c3878e3c0 (diff)
downloadioquake3-aero-48addd68a8c8d0c026be2d3b87ea6ce23509da91.tar.gz
ioquake3-aero-48addd68a8c8d0c026be2d3b87ea6ce23509da91.zip
* Replaced lots of __linux__ || __FreeBSD__ with __GNUC__
* MinGW port now uses asm versions of SnapVector and ftol * Improved the handling of mangled symbols in vm_x86.c git-svn-id: svn://svn.icculus.org/quake3/trunk@99 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer/tr_shade_calc.c')
-rw-r--r--code/renderer/tr_shade_calc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/code/renderer/tr_shade_calc.c b/code/renderer/tr_shade_calc.c
index ca6f07c..ae33c51 100644
--- a/code/renderer/tr_shade_calc.c
+++ b/code/renderer/tr_shade_calc.c
@@ -1022,17 +1022,13 @@ void RB_CalcRotateTexCoords( float degsPerSecond, float *st )
-#if id386 && !( (defined __linux__ || defined __FreeBSD__ ) && (defined __i386__ ) ) // rb010123
+#if id386 && !( (defined __GNUC__ ) && (defined __i386__ ) ) // rb010123
long myftol( float f ) {
-#ifndef __MINGW32__
static int tmp;
__asm fld f
__asm fistp tmp
__asm mov eax, tmp
-#else
- return (long)f;
-#endif
}
#endif