aboutsummaryrefslogtreecommitdiffstats
path: root/b.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2011-05-06 14:08:24 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2011-05-06 14:08:24 +0000
commite2f76e526c9828f75cb69d51857e9efd1ed0684f (patch)
tree3bd96c6c930a25429b3c0cf7413942cb20dd8d99 /b.c
parentf11de2916976d54dd9f4f804dda1c290783aaa90 (diff)
downloadsrc-e2f76e526c9828f75cb69d51857e9efd1ed0684f.tar.gz
src-e2f76e526c9828f75cb69d51857e9efd1ed0684f.zip
Vendor import of bwk's 6-May-2011 release.vendor/one-true-awk/20110506
Notes
Notes: svn path=/vendor/one-true-awk/dist/; revision=221530 svn path=/vendor/one-true-awk/20110506/; revision=221531; tag=vendor/one-true-awk/20110506
Diffstat (limited to 'b.c')
-rw-r--r--b.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/b.c b/b.c
index a4a46acbf91a..97dc32a05730 100644
--- a/b.c
+++ b/b.c
@@ -748,7 +748,11 @@ struct charclass {
} charclasses[] = {
{ "alnum", 5, isalnum },
{ "alpha", 5, isalpha },
+#ifndef HAS_ISBLANK
{ "blank", 5, isspace }, /* was isblank */
+#else
+ { "blank", 5, isblank },
+#endif
{ "cntrl", 5, iscntrl },
{ "digit", 5, isdigit },
{ "graph", 5, isgraph },