gallium: Drop deprecated __MSC__ macro.
This commit is contained in:
@@ -224,7 +224,7 @@ static INLINE int align_int(int x, int align)
|
||||
|
||||
|
||||
|
||||
#if defined(__MSC__) && defined(__WIN32__)
|
||||
#if defined(PIPE_CC_MSVC) && defined(PIPE_ARCH_X86)
|
||||
static INLINE unsigned ffs( unsigned u )
|
||||
{
|
||||
unsigned i;
|
||||
@@ -341,14 +341,14 @@ static INLINE int ifloor(float f)
|
||||
}
|
||||
|
||||
|
||||
#if defined(__GNUC__) && defined(__i386__)
|
||||
#if defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86)
|
||||
static INLINE int iround(float f)
|
||||
{
|
||||
int r;
|
||||
__asm__ ("fistpl %0" : "=m" (r) : "t" (f) : "st");
|
||||
return r;
|
||||
}
|
||||
#elif defined(__MSC__) && defined(__WIN32__)
|
||||
#elif defined(PIPE_CC_MSVC) && defined(PIPE_ARCH_X86)
|
||||
static INLINE int iround(float f)
|
||||
{
|
||||
int r;
|
||||
|
Reference in New Issue
Block a user