commit 08cd06963b520131ebcc06b953a544080ea94afe
parent ec66444cc2817b07c883c33eecc68e00c78c1ac0
Author: ukai <ukai>
Date: Tue, 27 Aug 2002 16:35:15 +0000
[w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large files
* indep.c (strtoclen): need defined()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat:
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-28 Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
+
+ * [w3m-dev 03290] Re: Forward: Bug#157098: wrong file presentation on large files
+ * indep.c (strtoclen): need defined()
+
2002-08-21 Fumitoshi UKAI <ukai@debian.or.jp>
* Debian Bug#157098: wrong file presentation on large files
diff --git a/indep.c b/indep.c
@@ -16,11 +16,11 @@ strtoclen(const char *s)
{
#ifdef HAVE_STRTOLL
return strtoll(s, NULL, 10);
-#elif HAVE_STRTOQ
+#elif defined(HAVE_STRTOQ)
return strtoq(s, NULL, 10);
-#elif HAVE_ATOLL
+#elif defined(HAVE_ATOLL)
return atoll(s);
-#elif HAVE_ATOQ
+#elif defined(HAVE_ATOQ)
return atoq(s);
#else
return atoi(s);