summaryrefslogtreecommitdiff
path: root/lib/strtoumax.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-27 17:41:20 +0000
committerJim Meyering <jim@meyering.net>2000-02-27 17:41:20 +0000
commitaadde402068c6b1bdada7177f6b46cdf5648be5f (patch)
tree7e1935ab96202e81c2b9a9732365f6d83884fa9c /lib/strtoumax.c
parentaee6c4988782151c6a5fc957d30b6471fb405c25 (diff)
downloadcoreutils-aadde402068c6b1bdada7177f6b46cdf5648be5f.tar.xz
Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
now that autoconf always defines the HAVE_DECL_ symbols. Arrange for cpp to fail if the configure-time declaration check was not run.
Diffstat (limited to 'lib/strtoumax.c')
-rw-r--r--lib/strtoumax.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/strtoumax.c b/lib/strtoumax.c
index 1642e9735..22b9a3d8d 100644
--- a/lib/strtoumax.c
+++ b/lib/strtoumax.c
@@ -38,10 +38,16 @@
#endif
#ifndef HAVE_DECL_STRTOUL
+'this configure-time declaration test was not run'
+#endif
+#if !HAVE_DECL_STRTOUL
unsigned long long strtoul PARAMS ((char const *, char **, int));
#endif
#ifndef HAVE_DECL_STRTOULL
+'this configure-time declaration test was not run'
+#endif
+#if !HAVE_DECL_STRTOULL
unsigned long long strtoull PARAMS ((char const *, char **, int));
#endif