diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-03-21 04:14:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-03-21 04:14:06 +0000 |
commit | b69f5f3e1bdfc07a6b3c78b54f4f16de7ba9e934 (patch) | |
tree | e17f2931ef15fc743af2bac981d2488f6f18b1cd /src/common/util.h | |
parent | f608b85ddf25ab5c48473d9d922fdf420e8a2507 (diff) | |
download | tor-b69f5f3e1bdfc07a6b3c78b54f4f16de7ba9e934.tar.gz tor-b69f5f3e1bdfc07a6b3c78b54f4f16de7ba9e934.zip |
Add an autoconf test for whether unaligned int access is permitted.
It works on macos, and works correctly when I twiddle the test code to
generate a spurious segfault. Will it work anywhere else?
svn:r1329
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h index f05a012b4d..f7ac07fca7 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. */ |