freeswitch/libs/ldns/compat/isascii.c

16 lines
225 B
C
Raw Normal View History

2011-03-25 12:23:32 -04:00
/* Just a replacement, if the original isascii is not
present */
#if HAVE_CONFIG_H
#include <ldns/config.h>
#endif
int isascii(int c);
/* true if character is ascii. */
int
isascii(int c)
{
return c >= 0 && c < 128;
}