summaryrefslogtreecommitdiff
path: root/src/mesa/x86
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-23 22:59:31 -0800
committerVinson Lee <vlee@vmware.com>2010-01-23 22:59:31 -0800
commitbc75ec0f3824176f3fd7182846b3ec36051945b3 (patch)
treeb4b01fe77d52792ed5efb00cd8f43e587873a950 /src/mesa/x86
parent6b55aacccbbc2c86f03eafab23d5d74bc165c9ed (diff)
glapi: Do not use .type pseudo-op on Mac OS X.
The .type directive is an unknown pseudo-op on Mac OS X.
Diffstat (limited to 'src/mesa/x86')
-rw-r--r--src/mesa/x86/glapi_x86.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/x86/glapi_x86.S b/src/mesa/x86/glapi_x86.S
index 0da924c37f..849fbce3b8 100644
--- a/src/mesa/x86/glapi_x86.S
+++ b/src/mesa/x86/glapi_x86.S
@@ -46,7 +46,7 @@
#define GL_OFFSET(x) CODEPTR(REGOFF(4 * x, EAX))
-#if defined(GNU_ASSEMBLER) && !defined(__DJGPP__) && !defined(__MINGW32__)
+#if defined(GNU_ASSEMBLER) && !defined(__DJGPP__) && !defined(__MINGW32__) && !defined(__APPLE__)
#define GLOBL_FN(x) GLOBL x ; .type x, function
#else
#define GLOBL_FN(x) GLOBL x