Mesa (master): util: Fix unmatched parenthesis.

Vinson Lee vlee at kemper.freedesktop.org
Tue Sep 10 17:34:09 UTC 2013


Module: Mesa
Branch: master
Commit: d93e23ba25cbfd8f77a4b3a113ca7ed3dece1e68
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d93e23ba25cbfd8f77a4b3a113ca7ed3dece1e68

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Tue Sep 10 10:31:29 2013 -0700

util: Fix unmatched parenthesis.

Fixes MSVC build error introduced with commit
923d3467147dd301d94ed3e6b41295fb2bcd6f47.

src\gallium\auxiliary\util\u_cpu_detect.c(286) : fatal error C1012: unmatched parenthesis : missing '('

Signed-off-by: Vinson Lee <vlee at freedesktop.org>

---

 src/gallium/auxiliary/util/u_cpu_detect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_cpu_detect.c b/src/gallium/auxiliary/util/u_cpu_detect.c
index 8ac26cb..d2d1313 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.c
+++ b/src/gallium/auxiliary/util/u_cpu_detect.c
@@ -283,7 +283,7 @@ static INLINE boolean sse2_has_daz(void)
    fxarea.mxcsr_mask = 0;
 #if (defined(PIPE_CC_GCC) || defined(PIPE_CC_SUNPRO))
    __asm __volatile ("fxsave %0" : "+m" (fxarea));
-#elif (defined(PIPE_CC_MSVC) && _MSC_VER >= 1700)) || defined(PIPE_CC_ICL)
+#elif (defined(PIPE_CC_MSVC) && _MSC_VER >= 1700) || defined(PIPE_CC_ICL)
    /* 1700 = Visual Studio 2012 */
    _fxsave(&fxarea);
 #else




More information about the mesa-commit mailing list