summaryrefslogtreecommitdiff
path: root/tests/mpfr_compat.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-16 22:03:01 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-16 22:03:01 +0000
commitb8ef4f9b79a2a989a601bf0fad918541aaada8cd (patch)
tree1c85f14570a6c8de41a2b15e4c17f716c8a89b5a /tests/mpfr_compat.c
parentf56d3181a510273c1dadce640072ebdaff3a8e94 (diff)
downloadmpfr-b8ef4f9b79a2a989a601bf0fad918541aaada8cd.tar.gz
first step towards making MPFR compile with --enable-mini-gmp, so far make
succeeds and all tests compile, but many tests fail, will investigate later git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8753 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/mpfr_compat.c')
-rw-r--r--tests/mpfr_compat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/mpfr_compat.c b/tests/mpfr_compat.c
index 4854205e0..6ce0b96bb 100644
--- a/tests/mpfr_compat.c
+++ b/tests/mpfr_compat.c
@@ -20,6 +20,14 @@ 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. */
+#ifndef WANT_MINI_GMP
#define MPFR
#define mpf_free_str mpfr_free_str
#include "mpf_compat.h"
+#else
+int
+main ()
+{
+ return 0;
+}
+#endif