__NetBSD__ is going away from our gcc specs
authorniklas <niklas@openbsd.org>
Mon, 17 Feb 1997 09:23:58 +0000 (09:23 +0000)
committerniklas <niklas@openbsd.org>
Mon, 17 Feb 1997 09:23:58 +0000 (09:23 +0000)
gnu/usr.bin/perl/ext/DynaLoader/dl_dlopen.xs

index a2a6816..86643f6 100644 (file)
 #endif
 
 #ifndef HAS_DLERROR
-# ifdef __NetBSD__
+# if defined(__NetBSD__) || defined(__OpenBSD__)
 #  define dlerror() strerror(errno)
 # else
 #  define dlerror() "Unknown error - dlerror() not implemented"