summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/x86/assyntax.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/x86/assyntax.h b/src/mesa/x86/assyntax.h
index 3c922201dd..0a8c1bda97 100644
--- a/src/mesa/x86/assyntax.h
+++ b/src/mesa/x86/assyntax.h
@@ -236,7 +236,8 @@
#if defined(Lynx) || (defined(SYSV) || defined(SVR4)) && !defined(ACK_ASSEMBLER) \
- || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__)
+ || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__) \
+ || defined(__FreeBSD__) && __FreeBSD__ >= 3
#define GLNAME(a) a
#else
#define GLNAME(a) CONCAT(_,a)
@@ -930,7 +931,8 @@
#endif
#if defined(Lynx) || (defined(SYSV) || defined(SVR4)) \
-|| (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__)
+ || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__) \
+ || defined(__FreeBSD__) && __FreeBSD__ >= 3
#define GLNAME(a) a
#else
#define GLNAME(a) _ ## a