aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_ptr_slow.c
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2019-03-25 10:17:30 +0200
committerrl1987 <rl1987@sdf.lonestar.org>2019-03-25 10:17:30 +0200
commit68260e85b5fd4f5e0bb87a4c58b187a8309b0cb5 (patch)
treeab28e696263b70785c759b319ddd3b413dc90c81 /src/test/test_ptr_slow.c
parent9529d99982eb64998e12db7704fa977bf02f541c (diff)
downloadtor-68260e85b5fd4f5e0bb87a4c58b187a8309b0cb5.tar.gz
tor-68260e85b5fd4f5e0bb87a4c58b187a8309b0cb5.zip
Move sizeof check to torint.h
Diffstat (limited to 'src/test/test_ptr_slow.c')
-rw-r--r--src/test/test_ptr_slow.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/test_ptr_slow.c b/src/test/test_ptr_slow.c
index 2d4fc9d4dd..76bdbf1891 100644
--- a/src/test/test_ptr_slow.c
+++ b/src/test/test_ptr_slow.c
@@ -11,15 +11,6 @@
#include <stdint.h>
#include <limits.h>
-#if SIZEOF_INT > SIZEOF_VOID_P
-#error "sizeof(int) > sizeof(void *) - Tor cannot be built on this platform!"
-#endif
-
-#if SIZEOF_UNSIGNED_INT > SIZEOF_VOID_P
-#error "sizeof(unsigned int) > sizeof(void *) - Tor cannot be built on this \
-platform!"
-#endif
-
/** Assert that <b>a</b> can be cast to void * and back. */
static void
assert_int_voidptr_roundtrip(int a)