$NetBSD: patch-ae,v 1.1 2015/03/15 15:28:58 mef 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 /* 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