freeswitch/libs/ldns/compat/isascii.c
2011-03-25 11:23:32 -05:00

16 lines
225 B
C

/* 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;
}