29 lines
708 B
Text
29 lines
708 B
Text
$NetBSD: patch-ab,v 1.2 2006/02/16 19:41:04 joerg Exp $
|
|
|
|
--- src/cver.c.orig 2005-07-06 17:53:09.000000000 +0000
|
|
+++ src/cver.c
|
|
@@ -978,9 +978,6 @@ extern void __sym_addprims(void);
|
|
|
|
|
|
|
|
-/* externs for system error messages */
|
|
-extern int32 errno;
|
|
-
|
|
/* special external for setjmp environment - reset environment */
|
|
extern jmp_buf __reset_jmpbuf;
|
|
extern char __pv_ctab[];
|
|
@@ -1049,6 +1046,14 @@ extern int32 __dig_main(int32 argc, char
|
|
__platform = __pv_stralloc("X86 FreeBSD");
|
|
#endif
|
|
|
|
+#ifdef __NetBSD__
|
|
+ __platform = __pv_stralloc("NetBSD");
|
|
+#endif
|
|
+
|
|
+#ifdef __DragonFly__
|
|
+ __platform = __pv_stralloc("DragonFly");
|
|
+#endif
|
|
+
|
|
#ifdef __APPLE__
|
|
__platform = __pv_stralloc("Mac OSX");
|
|
#endif
|