diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-07-31 18:01:22 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-07-31 18:01:22 +0000 |
commit | 3843b1b3d09ca9d6546bfcf8e5f3bc10de4c2748 (patch) | |
tree | 03886a71e9908d7adca7bd0960656136d381401b /src | |
parent | fd0bafb0dedc7e276708ab691df3efce5e8b4cea (diff) | |
download | tor-3843b1b3d09ca9d6546bfcf8e5f3bc10de4c2748.tar.gz tor-3843b1b3d09ca9d6546bfcf8e5f3bc10de4c2748.zip |
r6978@Kushana: nickm | 2006-07-31 13:16:14 -0400
Add isupper and islower wrappers to compat.h
svn:r6957
Diffstat (limited to 'src')
-rw-r--r-- | src/common/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 9a1cd1b66f..5b76cfe02a 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -130,6 +130,8 @@ const void *tor_memmem(const void *haystack, size_t hlen, const void *needle, #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 TOR_ISLOWER(c) islower((int)(unsigned char)(c)) +#define TOR_ISUPPER(c) isupper((int)(unsigned char)(c)) #ifdef MS_WINDOWS #define _SHORT_FILE_ (tor_fix_source_file(__FILE__)) |