diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.c | 2 | ||||
-rw-r--r-- | src/common/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index edd785cb8..80299c4e3 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -86,7 +86,7 @@ void tor_strlower(char *s) } } -#ifndef UNALIGNED_ACCESS_OK +#ifndef UNALIGNED_INT_ACCESS_OK uint16_t get_uint16(char *cp) { uint16_t v; diff --git a/src/common/util.h b/src/common/util.h index f05a012b4..f7ac07fca 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -43,7 +43,7 @@ char *tor_strndup(const char *s, size_t n); #define tor_free(p) do {if(p) {free(p); (p)=NULL;}} while(0) void tor_strlower(char *s); -#ifdef UNALIGNED_ACCESS_OK +#ifdef UNALIGNED_INT_ACCESS_OK /* XXX Not actually used yet, but would probably be faster on non-sun * hardare. */ |