$NetBSD: patch-ad,v 1.9 2005/07/14 23:58:37 grant Exp $ --- config_f.h.orig 2005-03-05 00:46:04.000000000 +1100 +++ config_f.h @@ -44,7 +44,18 @@ * of nls... * */ -#define SHORT_STRINGS +#if defined(__NetBSD__) +# include +# if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 200000000) +# define SHORT_STRINGS +# else +# undef SHORT_STRINGS +# endif +#elif defined(__OpenBSD__) +# undef SHORT_STRINGS +#else +# define SHORT_STRINGS +#endif /* * WIDE_STRINGS Represent strings using wide characters @@ -69,7 +80,11 @@ * if you don't have , you don't want * to define this. */ -#undef NLS_CATALOGS +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +# define NLS_CATALOGS +#else +# undef NLS_CATALOGS +#endif /* * LOGINFIRST Source ~/.login before ~/.cshrc