aboutsummaryrefslogtreecommitdiffstats
path: root/indep.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-08-27 16:35:15 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-08-27 16:35:15 +0000
commit8d9955198a7c3e4872ad0291c3faa10cbaea996e (patch)
treee8b8c329c755b3753e413986988ad1199e41f46f /indep.c
parentrun indent (diff)
downloadw3m-8d9955198a7c3e4872ad0291c3faa10cbaea996e.tar.gz
w3m-8d9955198a7c3e4872ad0291c3faa10cbaea996e.zip
[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 (limited to 'indep.c')
-rw-r--r--indep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/indep.c b/indep.c
index 25884a4..8ae6963 100644
--- a/indep.c
+++ b/indep.c
@@ -1,4 +1,4 @@
-/* $Id: indep.c,v 1.23 2002/08/20 17:49:39 ukai Exp $ */
+/* $Id: indep.c,v 1.24 2002/08/27 16:35:15 ukai Exp $ */
#include "fm.h"
#include <stdio.h>
#include <pwd.h>
@@ -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);