From: Josh Vanderhoof Date: Sat, 9 Oct 1999 23:20:23 +0000 (+0000) Subject: no underscore prefix for freebsd >= 3 (Simon Walton) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73d03344f43d0f5c7f25a1fea13b5c2bad37dfd9;p=mesa.git no underscore prefix for freebsd >= 3 (Simon Walton) --- 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