From 416723f0899d617325da6f2d9f49a368e227fed4 Mon Sep 17 00:00:00 2001 From: Josiah Worcester Date: Wed, 8 Jun 2011 16:52:47 -0600 Subject: [PATCH] test_sysinfo: Use CHAR_BIT*sizeof(void*) instead of __WORDSIZE. Signed-off-by: Josiah Worcester --- tests/helpers/test_sysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c index cb7b66b1a0..a8d80d8759 100644 --- a/tests/helpers/test_sysinfo.c +++ b/tests/helpers/test_sysinfo.c @@ -28,7 +28,7 @@ typedef struct { int hlp_wordsize(void) { - printf("%d\n", __WORDSIZE); + printf("%d\n", CHAR_BIT*sizeof(void*)); return 0; } -- 2.47.3