aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-08-19 09:37:17 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-08-19 09:37:17 +0800
commit004afe9b49ad1414e749945ac3b751e2d43e2b44 (patch)
tree30cf779eb21f7dda65abb33d9c82585fb7cc6da3
parentc1f384d0d28a20d7126b4609df412723f0dc98fa (diff)
downloadtangerine-mcl-004afe9b49ad1414e749945ac3b751e2d43e2b44.tar.gz
tangerine-mcl-004afe9b49ad1414e749945ac3b751e2d43e2b44.tar.zst
tangerine-mcl-004afe9b49ad1414e749945ac3b751e2d43e2b44.zip
divUnit is only for 64-bit unit
-rw-r--r--test/vint_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/vint_test.cpp b/test/vint_test.cpp
index 198987d..d3e0238 100644
--- a/test/vint_test.cpp
+++ b/test/vint_test.cpp
@@ -1141,6 +1141,7 @@ struct Seq {
}
};
+#if MCL_SIZEOF_UNIT == 8
CYBOZU_TEST_AUTO(divUnit)
{
const uint32_t tbl[] = {
@@ -1174,3 +1175,4 @@ CYBOZU_TEST_AUTO(divUnit)
}
}
}
+#endif