From 436852e985b2cf8f1fbec91c7dffac366a8808a3 Mon Sep 17 00:00:00 2001
From: Marcus Comstedt <marcus@mc.pp.se>
Date: Wed, 17 Dec 2003 22:08:34 +0100
Subject: [PATCH] Only look for bignums if they are available.

Rev: src/module_support.c:1.58
---
 src/module_support.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/module_support.c b/src/module_support.c
index 67cd5c0b9c..032ecab8c6 100644
--- a/src/module_support.c
+++ b/src/module_support.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: module_support.c,v 1.57 2003/12/09 12:51:41 grubba Exp $
+|| $Id: module_support.c,v 1.58 2003/12/17 21:08:34 marcus Exp $
 */
 
 #include "global.h"
@@ -18,7 +18,7 @@
 
 #define sp Pike_sp
 
-RCSID("$Id: module_support.c,v 1.57 2003/12/09 12:51:41 grubba Exp $");
+RCSID("$Id: module_support.c,v 1.58 2003/12/17 21:08:34 marcus Exp $");
 
 /* Checks that args_to_check arguments are OK.
  * Returns 1 if everything worked ok, zero otherwise.
@@ -229,9 +229,11 @@ int va_get_args(struct svalue *s,
       if (s->type == T_INT) {
 	*va_arg(ap, LONGEST *)=s->u.integer;
 	break;
+#ifdef AUTO_BIGNUM
       } else if (!is_bignum_object_in_svalue(s) ||
 		 !int64_from_bignum(va_arg(ap, LONGEST *), s->u.object)) {
 	return ret;
+#endif
       }
       break;
     case 's':
-- 
GitLab