summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-Sanity.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-Sanity.cc b/tests/test-Sanity.cc
index 22120ab..35fe18b 100644
--- a/tests/test-Sanity.cc
+++ b/tests/test-Sanity.cc
@@ -6,8 +6,13 @@ void MainTask::Do() {
Printer::log(M_STATUS, "Test::Sanity running.");
TAssert(sizeof(off_t) == 8);
+#ifdef __x86_64__
+ TAssert(sizeof(size_t) == 8);
+ TAssert(sizeof(time_t) == 8);
+#else
TAssert(sizeof(size_t) == 4);
TAssert(sizeof(time_t) == 4);
+#endif
Printer::log(M_STATUS, "Test::Sanity passed.");
}