summaryrefslogtreecommitdiff
path: root/mail/sid-milter/patches/patch-ab
blob: 739212f2e2992c139fd948f89e634604f66de36f (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
$NetBSD: patch-ab,v 1.1.1.1 2010/03/12 22:42:55 pettai Exp $
--- /dev/null	2008-10-16 17:49:30.000000000 +1300
+++ include/sm/os/sm_os_netbsd.h
@@ -0,0 +1,23 @@
+/*
+ */
+
+/*
+**  sm_os_netbsd.h -- platform definitions for NetBSD
+*/
+
+#define SM_OS_NAME   "netbsd"
+
+#define SM_CONF_SYS_CDEFS_H  1
+
+#if defined(__NetBSD__)
+#  include <sys/param.h> /* defines __NetBSD_Version__ */
+#  if __NetBSD_Version__ >= 104030000
+     /* 1.4.3 and later have strlcpy()/strlcat() */
+#    ifndef SM_CONF_STRL
+#       define SM_CONF_STRL             1
+#    endif
+#  endif
+#  if __NetBSD_Version__ >= 499006500
+#    define SM_CONF_STDBOOL_H           1
+#  endif
+#endif