diff --git a/src/module_support.c b/src/module_support.c
index 67cd5c0b9c6900b2867924d3a1d95b2ba3ec816b..032ecab8c6a021020e3a4f990bf7293dc7934f2d 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':