Symbols on NetBSD also have a leading underscore. RDF_19990407_BASE
authorwtc%netscape.com
Tue, 06 Apr 1999 01:26:50 +0000
changeset 536 c91844c163c65ee2d1da652e2dadc804ab711480
parent 531 cc2481cf7ca0f6778e48ee3c9a800426451242b0
child 537 bb2f9d71b2ab95ce750171f1534ebb23ddf3a0eb
child 544 2a891ca83dbcb7ec0bbb7d07b5f6789807914fd1
push idunknown
push userunknown
push dateunknown
Symbols on NetBSD also have a leading underscore. This patch is contributed by gduzan@acm.org.
pr/src/linking/prlink.c
--- a/pr/src/linking/prlink.c
+++ b/pr/src/linking/prlink.c
@@ -50,17 +50,17 @@
 #define RTLD_LAZY RTLD_NOW
 #endif
 #endif /* XP_UNIX */
 
 /*
  * On these platforms, symbols have a leading '_'.
  */
 #if defined(SUNOS4) || defined(RHAPSODY) || defined(NEXTSTEP) \
-    || defined(OPENBSD) || defined(WIN16)
+    || defined(OPENBSD) || defined(WIN16) || defined(NETBSD)
 #define NEED_LEADING_UNDERSCORE
 #endif
 
 #ifdef XP_PC
 typedef PRStaticLinkTable *NODL_PROC(void);
 #endif
 
 /************************************************************************/