diff options
author | José Fonseca <[email protected]> | 2008-06-24 13:56:41 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-06-24 13:56:41 +0900 |
commit | e8b52b3f5682c969e58077d42f5aebdad5d32e89 (patch) | |
tree | e91e08f43b5e916d11daf748701e1c4c243f451b /src/gallium/include/pipe/p_util.h | |
parent | 0d947674305a349662b3ab57733c54f9f4c1a8b3 (diff) |
gallium: Drop deprecated __MSC__ macro.
Diffstat (limited to 'src/gallium/include/pipe/p_util.h')
-rw-r--r-- | src/gallium/include/pipe/p_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/include/pipe/p_util.h b/src/gallium/include/pipe/p_util.h index f62faf616a9..cf2447822ab 100644 --- a/src/gallium/include/pipe/p_util.h +++ b/src/gallium/include/pipe/p_util.h @@ -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; |