blob: d6d86fbc5624db25ee5400878336f47a0992ab08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ad,v 1.7 2005/10/12 17:52:26 joerg Exp $
--- kinit/setproctitle.h.orig 2000-02-12 03:17:07.000000000 +1300
+++ kinit/setproctitle.h
@@ -71,8 +71,8 @@
# define SPT_PADCHAR '\0' /* pad process title with nulls */
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
-# if defined(__NetBSD__) && (NetBSD > 199307 || NetBSD0_9 > 1)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
+# if defined(__NetBSD__) || defined(__DragonFly__)
# undef SPT_TYPE
# define SPT_TYPE SPT_BUILTIN /* setproctitle is in libc */
# endif
|