From 749122fe95e59ac328ded1720fdbc653dae53faf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 15 May 1997 19:36:01 +0200 Subject: [PATCH] Digitals cc didn't like the old ERROR-macro. Rev: src/modules/Gmp/mpz_glue.c:1.17 --- src/modules/Gmp/mpz_glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Gmp/mpz_glue.c b/src/modules/Gmp/mpz_glue.c index 5e4bbed6f6..e28c580b31 100644 --- a/src/modules/Gmp/mpz_glue.c +++ b/src/modules/Gmp/mpz_glue.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: mpz_glue.c,v 1.16 1997/04/28 23:49:11 hubbe Exp $"); +RCSID("$Id: mpz_glue.c,v 1.17 1997/05/15 17:36:01 grubba Exp $"); #include "gmp_machine.h" #include "types.h" @@ -296,7 +296,7 @@ static void mpzmod_cast(INT32 args) /* Converts an svalue, located on the stack, to an mpz object */ static MP_INT *get_mpz(struct svalue *s, int throw_error) { -#define ERROR(x) (throw_error ? error(x) : 0) +#define ERROR(x) if (throw_error) error(x) struct object *o; switch(s->type) { -- GitLab