diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-01-22 00:42:58 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-01-22 00:42:58 +0000 |
commit | fbb7f869c5cff8c771c73ab90f52d7017051693f (patch) | |
tree | d52ef39b92553dba9393f9da51f75f13f6316fcc /src/common | |
parent | 1dc4d9a0ceb5aacb7f44416950a7b794380b1a3a (diff) | |
download | tor-fbb7f869c5cff8c771c73ab90f52d7017051693f.tar.gz tor-fbb7f869c5cff8c771c73ab90f52d7017051693f.zip |
fwd-port win32 isprint fix
svn:r3410
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 186416d882..e10a6b620d 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -85,6 +85,7 @@ int tor_vsnprintf(char *str, size_t size, const char *format, va_list args); #define TOR_ISSPACE(c) isspace((int)(unsigned char)(c)) #define TOR_ISXDIGIT(c) isxdigit((int)(unsigned char)(c)) #define TOR_ISDIGIT(c) isdigit((int)(unsigned char)(c)) +#define TOR_ISPRINT(c) isprint((int)(unsigned char)(c)) #define _SHORT_FILE_ (_tor_fix_source_file(__FILE__)) const char *_tor_fix_source_file(const char *fname); |