$NetBSD: patch-aa,v 1.7 2000/04/03 11:15:02 drochner Exp $
--- src/X86/assyntax.h.orig	Tue Nov 16 00:22:22 1999
+++ src/X86/assyntax.h	Mon Apr  3 00:11:38 2000
@@ -237,7 +237,8 @@
 
 #if defined(Lynx) || (defined(SYSV) || defined(SVR4)) && !defined(ACK_ASSEMBLER) \
  || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__) \
- || defined(__FreeBSD__) && __FreeBSD__ >= 3
+ || defined(__FreeBSD__) && __FreeBSD__ >= 3 \
+ || defined(__NetBSD__) && defined(__ELF__)
 #define GLNAME(a)       a
 #else
 #define GLNAME(a)       CONCAT(_,a)
@@ -932,7 +933,8 @@
 
 #if defined(Lynx) || (defined(SYSV) || defined(SVR4)) \
  || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__) \
- || defined(__FreeBSD__) && __FreeBSD__ >= 3
+ || defined(__FreeBSD__) && __FreeBSD__ >= 3 \
+ || defined(__NetBSD__) && defined(__ELF__)
 #define GLNAME(a) a
 #else
 #define GLNAME(a) _ ## a