$NetBSD: patch-af,v 1.1.1.1 2000/12/27 17:37:51 jlam Exp $ --- stlport/stl/c_locale.h.orig Thu Jul 13 21:53:26 2000 +++ stlport/stl/c_locale.h @@ -280,6 +280,17 @@ # define _Locale_PRINT _CTYPE_R # define _Locale_ALPHA _CTYPE_A +# elif defined (__NetBSD__) + +# define _Locale_CNTRL _C +# define _Locale_UPPER _U +# define _Locale_LOWER _L +# define _Locale_DIGIT _N +# define _Locale_XDIGIT (_N | _X) +# define _Locale_PUNCT _P +# define _Locale_SPACE _S +# define _Locale_PRINT (_P |_U |_L |_N | _B) +# define _Locale_ALPHA (_U | _L) # elif defined(__STL_USE_GLIBC) /* linux, using the gnu compiler */