aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-02 14:02:51 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-02 14:02:51 +0000
commit2171992ae477864a2bcece5649f80859434be167 (patch)
tree977693239cc165aa13aac38bbef59a0adb78d783 /options.c
parent84d801a3e852add04ed7e9e69101ce0a8db1f8be (diff)
downloadfetchmail-2171992ae477864a2bcece5649f80859434be167.tar.gz
fetchmail-2171992ae477864a2bcece5649f80859434be167.tar.bz2
fetchmail-2171992ae477864a2bcece5649f80859434be167.zip
SunOS fix.
svn path=/trunk/; revision=1870
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 92d24b24..ce0f1f68 100644
--- a/options.c
+++ b/options.c
@@ -127,7 +127,7 @@ static const struct option longoptions[] = {
static int xatoi(char *s, int *errflagptr)
/* do safe conversion from string to number */
{
-#if defined (__STDC__)
+#if defined (STDC_HEADERS) && defined (LONG_MAX) && defined (INT_MAX)
/* parse and convert numbers, but also check for invalid characters in
* numbers
*/