blob: 58b89801ca6d0ce88339411f0fffe1e33b8a38e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$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
|