diff options
Diffstat (limited to 'src/boost/libs/multiprecision/config/has_tommath.cpp')
-rw-r--r-- | src/boost/libs/multiprecision/config/has_tommath.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/boost/libs/multiprecision/config/has_tommath.cpp b/src/boost/libs/multiprecision/config/has_tommath.cpp new file mode 100644 index 000000000..e5d0a6682 --- /dev/null +++ b/src/boost/libs/multiprecision/config/has_tommath.cpp @@ -0,0 +1,15 @@ +// Copyright John Maddock 2011. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#include <tommath.h> + +int main() +{ + mp_int v; + mp_init(&v); + if (v.dp) + mp_clear(&v); + return 0; +} |