diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-07 19:02:30 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-07 19:02:30 +0000 |
commit | 029611600fbf705576d4e2679bae47cebdc16866 (patch) | |
tree | 26a2139e88cd1ede52714d6d5407e7a6fc061a67 /pjlib/include/pj/compat | |
parent | f155e2912011717b2f88a91fe15da93f4d0b0078 (diff) |
Fixed warning about isblank() redefinition on cygwin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@143 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r-- | pjlib/include/pj/compat/ctype.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/ctype.h b/pjlib/include/pj/compat/ctype.h index b5326f86..d89312c7 100644 --- a/pjlib/include/pj/compat/ctype.h +++ b/pjlib/include/pj/compat/ctype.h @@ -40,7 +40,9 @@ # define toupper(c) (((c) >= 'a' && (c) <= 'z') ? (c)-('a'-'A') : (c)) #endif -#define isblank(c) (c==' ' || c=='\t') +#ifndef isblank +# define isblank(c) (c==' ' || c=='\t') +#endif #endif /* __PJ_COMPAT_CTYPE_H__ */ |