From 029611600fbf705576d4e2679bae47cebdc16866 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 7 Feb 2006 19:02:30 +0000 Subject: Fixed warning about isblank() redefinition on cygwin git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@143 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/ctype.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pjlib') 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__ */ -- cgit v1.2.3