diff options
author | Jim Meyering <meyering@redhat.com> | 2008-10-25 22:51:54 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-10-25 22:57:42 +0200 |
commit | 153477479abd5b4dfda5feb109e3ebf28a578bad (patch) | |
tree | 6f6f9cf208589a1f861a5a6358cce1e8da1ad026 /src | |
parent | fec0e89c20db8772854335382aceb260cb7abef2 (diff) | |
download | coreutils-153477479abd5b4dfda5feb109e3ebf28a578bad.tar.xz |
factor: avoid compilation failure without libgmp
* src/factor.c (debug) [!HAVE_GMP]: Define.
Reported by Bob Proulx.
Diffstat (limited to 'src')
-rw-r--r-- | src/factor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/factor.c b/src/factor.c index 8ccefd576..187143a0a 100644 --- a/src/factor.c +++ b/src/factor.c @@ -257,6 +257,14 @@ S4: mpz_clear (x); mpz_clear (y); } + +#else + +static void +debug (char const *fmt ATTRIBUTE_UNUSED, ...) +{ +} + #endif /* The maximum number of factors, including -1, for negative numbers. */ |