summaryrefslogtreecommitdiffstats
path: root/src/mesa/math
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-11-09 10:20:51 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-11-09 10:24:37 +0000
commit63e7a4c6e5bf51d8090046ebc5adcb4207448565 (patch)
treeb701753960e53fe36889273def9d28e0059445d6 /src/mesa/math
parentf4b42aa5b7a3d11f839d5576b4c42406529131be (diff)
downloadexternal_mesa3d-63e7a4c6e5bf51d8090046ebc5adcb4207448565.zip
external_mesa3d-63e7a4c6e5bf51d8090046ebc5adcb4207448565.tar.gz
external_mesa3d-63e7a4c6e5bf51d8090046ebc5adcb4207448565.tar.bz2
mesa,glsl,mapi: Put extern "C" { ... } where appropriate.
Probably a several places missing, but enough to cover all headers (in)directly included by uniform_query.cpp, and fix the MSVC build.
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_matrix.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/math/m_matrix.h b/src/mesa/math/m_matrix.h
index a69afb8..e8e48aa 100644
--- a/src/mesa/math/m_matrix.h
+++ b/src/mesa/math/m_matrix.h
@@ -35,6 +35,11 @@
#include "main/glheader.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/**
* \name Symbolic names to some of the entries in the matrix
*
@@ -209,4 +214,8 @@ _mesa_transform_vector(GLfloat u[4], const GLfloat v[4], const GLfloat m[16]);
/*@}*/
+#ifdef __cplusplus
+}
+#endif
+
#endif