Change another _WIN32 to _MSC_VER for MinGW

Older MinGW versions do not know about __assume().
Change _WIN32 in comments too to match their opening #if.

Reported by serpentine.
This commit is contained in:
dhewg 2011-12-22 11:46:24 +01:00 committed by Daniel Gibson
parent 84d64029e5
commit a86defb0ca
4 changed files with 4 additions and 4 deletions

View file

@ -290,4 +290,4 @@ $memcpy_final:
}
}
#endif /* _WIN32 */
#endif /* _MSC_VER */

View file

@ -49,7 +49,7 @@ If you have questions concerning this license or the applicable additional terms
#ifdef _DEBUG
#define NODEFAULT default: assert( 0 )
#elif _WIN32
#elif _MSC_VER
#define NODEFAULT default: __assume( 0 )
#else
#define NODEFAULT

View file

@ -872,4 +872,4 @@ void VPCALL idSIMD_SSE2::MixedSoundToSamples( short *samples, const float *mixBu
}
}
#endif /* _WIN32 */
#endif /* _MSC_VER */

View file

@ -362,4 +362,4 @@ void VPCALL idSIMD_SSE3::TransformVerts( idDrawVert *verts, const int numVerts,
#endif
}
#endif /* _WIN32 */
#endif /* _MSC_VER */