summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/glapi_x86.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/x86/glapi_x86.S')
-rw-r--r--src/mesa/x86/glapi_x86.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S
index 3afd50e0af6..43b62e762ed 100644
--- a/src/mesa/x86/glapi_x86.S
+++ b/src/mesa/x86/glapi_x86.S
@@ -5,9 +5,9 @@
#ifndef __WIN32__
#if defined(USE_MGL_NAMESPACE)
-#define GL_PREFIX(n) GLNAME(mgl ## n)
+#define GL_PREFIX(n) GLNAME(CONCAT(mgl,n))
#else
-#define GL_PREFIX(n) GLNAME(gl ## n)
+#define GL_PREFIX(n) GLNAME(CONCAT(gl,n))
#endif
#define GL_OFFSET(x) CODEPTR(REGOFF(4 * x, EAX))