summaryrefslogtreecommitdiff
path: root/devel/stlport/patches/patch-af
blob: 929f437f426c4a2d5df9f7e122acfa3999125e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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 */