diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-07-23 00:12:35 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2014-07-23 00:12:35 +0000 |
commit | db5b5fc522d14d0c97fa2368400e7971d4976dd6 (patch) | |
tree | 85e70f1e842b900f1c22f36e926409752dda2714 /tests/mpf_compat.c | |
parent | 6f19ff3d2abc2222f13c1321c623f32f0513a129 (diff) | |
download | mpfr-db5b5fc522d14d0c97fa2368400e7971d4976dd6.tar.gz |
[tests]
* mpfr-test.h: no longer include <stdio.h> right here since the
included mpfr-impl.h does that and even better for C++.
* mpf_compat.c, mpfr_compat.c: include mpfr-test.h as it does useful
things (in particular, include config.h via mpfr-impl.h if there
is one, and define __MPFR_TEST_H__ for mpfr-impl.h).
* mpf_compat.h: no longer include some headers already included
via mpfr-test.h (see above change); added tests_start_mpfr and
tests_end_mpfr (showing memory inconsistency with mpf_compat).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9157 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/mpf_compat.c')
-rw-r--r-- | tests/mpf_compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mpf_compat.c b/tests/mpf_compat.c index b1518acd1..6f386291e 100644 --- a/tests/mpf_compat.c +++ b/tests/mpf_compat.c @@ -20,6 +20,8 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include "mpfr-test.h" + #ifndef MPFR_USE_MINI_GMP #define MPF |