From: José Fonseca Date: Tue, 24 Jun 2008 05:02:24 +0000 (+0900) Subject: mesa: Replace deprecated __MSC__ macro. X-Git-Tag: mesa-7.8~4139^2~390^2~1105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6f053739f66c1c88db12df4690051c0a54ff0f7;p=platform%2Fupstream%2Fmesa.git mesa: Replace deprecated __MSC__ macro. --- diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index ebdfc45..813be52 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -332,7 +332,7 @@ static INLINE int iround(float f) return r; } #define IROUND(x) iround(x) -#elif defined(USE_X86_ASM) && defined(__MSC__) && defined(__WIN32__) +#elif defined(USE_X86_ASM) && defined(_MSC_VER) static INLINE int iround(float f) { int r; diff --git a/src/mesa/math/m_debug_util.h b/src/mesa/math/m_debug_util.h index f7ce467..776c264 100644 --- a/src/mesa/math/m_debug_util.h +++ b/src/mesa/math/m_debug_util.h @@ -303,7 +303,7 @@ enum { NIL = 0, ONE = 1, NEG = -1, VAR = 2 }; */ #if defined(__GNUC__) # define ALIGN16(type, array) type array __attribute__ ((aligned (16))) -#elif defined(__MSC__) +#elif defined(_MSC_VER) # define ALIGN16(type, array) type array __declspec(align(16)) /* GH: Does this work? */ #elif defined(__WATCOMC__) # define ALIGN16(type, array) /* Watcom does not support this */