aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Vanderhoof <[email protected]>1999-10-09 23:20:23 +0000
committerJosh Vanderhoof <[email protected]>1999-10-09 23:20:23 +0000
commit73d03344f43d0f5c7f25a1fea13b5c2bad37dfd9 (patch)
tree4c597d4f1ab7bbb3153b4e66001ab3b2d11b8a4e
parent6e6d4c66bd7fd64162ee453b143d7388bb051444 (diff)
no underscore prefix for freebsd >= 3 (Simon Walton)
-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 3c922201dd1..0a8c1bda978 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