From: Niels Möller Date: Mon, 12 Oct 2009 08:01:04 +0000 (+0200) Subject: Removed conditioning on HAVE_LIBGMP. X-Git-Tag: camellia_32bit_20100720~142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e82a29def628711c5c94f0e77319f89ee12efbe;p=thirdparty%2Fnettle.git Removed conditioning on HAVE_LIBGMP. Rev: nettle/sexp-format.c:1.2 --- diff --git a/sexp-format.c b/sexp-format.c index 94601b6b..a3e6d920 100644 --- a/sexp-format.c +++ b/sexp-format.c @@ -36,11 +36,8 @@ #include "sexp.h" #include "buffer.h" -#if HAVE_LIBGMP -# include "bignum.h" -#endif +#include "bignum.h" -/* Code copied from sexp-conv.c: sexp_put_length */ static unsigned format_prefix(struct nettle_buffer *buffer, unsigned length) @@ -293,7 +290,6 @@ sexp_vformat(struct nettle_buffer *buffer, const char *format, va_list args) } case 'b': { -#if HAVE_LIBGMP const MP_INT *n = va_arg(args, const MP_INT *); unsigned length; unsigned prefix_length; @@ -316,9 +312,6 @@ sexp_vformat(struct nettle_buffer *buffer, const char *format, va_list args) done += length; -#else /* ! HAVE_LIBGMP */ - abort(); -#endif /* ! HAVE_LIBGMP */ break; } }