diff --git a/include/Decimal.hpp b/include/Decimal.hpp index f8e0d16..001c014 100644 --- a/include/Decimal.hpp +++ b/include/Decimal.hpp @@ -37,10 +37,11 @@ namespace voltdb { //The int used for storage and return values #ifdef TTMATH_PLATFORM64 -typedef ttmath::Int<2> TTInt; +#define TTMATH_INT_SIZE 2 #else -typedef ttmath::Int<4> TTInt; +#define TTMATH_INT_SIZE 4 #endif +typedef ttmath::Int TTInt; /* * A class for constructing Decimal values with the fixed precision and scale supported by VoltDB