aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-09-06 17:03:32 +0200
committermarha <marha@users.sourceforge.net>2011-09-06 17:03:32 +0200
commit553aee48675d816bf041a61ab01bb73f8602d365 (patch)
tree1418c747e18134060e8876fa51a853e74f7fb0f8
parentdfb79e7ffce291dc6020a9edab1d13da85c88ab6 (diff)
downloadvcxsrv-553aee48675d816bf041a61ab01bb73f8602d365.tar.gz
vcxsrv-553aee48675d816bf041a61ab01bb73f8602d365.tar.bz2
vcxsrv-553aee48675d816bf041a61ab01bb73f8602d365.zip
solved compile error
-rw-r--r--mesalib/src/mesa/vbo/vbo_attrib_tmp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/vbo/vbo_attrib_tmp.h b/mesalib/src/mesa/vbo/vbo_attrib_tmp.h
index 43d1a7ae0..263619641 100644
--- a/mesalib/src/mesa/vbo/vbo_attrib_tmp.h
+++ b/mesalib/src/mesa/vbo/vbo_attrib_tmp.h
@@ -59,6 +59,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define MAT_ATTR( A, N, V ) ATTR( A, N, (V)[0], (V)[1], (V)[2], (V)[3] )
+#ifdef _MSC_VER
+#define inline __inline
+#endif
static inline float conv_ui10_to_norm_float(unsigned ui10)
{
return (float)(ui10) / 1023.0;