projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f7bce4
)
regex: allow undefined isblank
author
Marko Kreen
<markokr@gmail.com>
Tue, 22 Feb 2011 19:06:07 +0000
(21:06 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Tue, 22 Feb 2011 19:06:07 +0000
(21:06 +0200)
usual/regex.c
patch
|
blob
|
blame
|
history
diff --git
a/usual/regex.c
b/usual/regex.c
index 63e09149f7c0715c48f0efbc38f00f3729763fc4..4c7d656208a2a761e8ee498a7482c5179192e19c 100644
(file)
--- a/
usual/regex.c
+++ b/
usual/regex.c
@@
-63,6
+63,7
@@
#define is_word(c) (isalnum(c) || (c) == '_')
#ifndef isblank
+#define isblank usual_isblank
static int isblank(int c) { return ((c) == ' ' || (c) == '\t'); }
#endif