aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-03-15 17:02:32 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-03-15 17:02:32 +0000
commit10ad1196e3f7f240a231e91d7cb2a612da3d6b4e (patch)
tree4425bba3796c39d7785c67d12fb6d426ca3cb504 /fetchmail.h
parent6d6e19632737459dd61f9414da1c12fafc3016ed (diff)
downloadfetchmail-10ad1196e3f7f240a231e91d7cb2a612da3d6b4e.tar.gz
fetchmail-10ad1196e3f7f240a231e91d7cb2a612da3d6b4e.tar.bz2
fetchmail-10ad1196e3f7f240a231e91d7cb2a612da3d6b4e.zip
Tighter check if strerror declaration is needed.
svn path=/branches/BRANCH_6-3/; revision=4743
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fetchmail.h b/fetchmail.h
index a687372e..67320374 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -687,11 +687,11 @@ void itimerthread(void*);
#define chdir _chdir2
#endif /* _EMX_ */
-# if HAVE_STRERROR
-# ifndef strerror /* On some systems, strerror is a macro */
+#ifdef HAVE_STRERROR
+# if !defined(strerror) && !defined(HAVE_DECL_STRERROR) /* On some systems, strerror is a macro */
char *strerror (int);
# endif
-# endif /* HAVE_STRERROR */
+#endif /* HAVE_STRERROR */
#define STRING_DISABLED (char *)-1
#define STRING_DUMMY ""