]> code.citadel.org Git - citadel.git/blobdiff - citadel/support.c
* configure.in, acconfig.h: new files; partially functional GNU
[citadel.git] / citadel / support.c
index 62a2f4497b674d13647ddd5a9592e11dc3f18e6e..ea4c39edbaa8d71889697ebb26c2ff9f06cd0941 100644 (file)
@@ -192,12 +192,12 @@ void mesg_locate(char *targ, char *searchfor, int numdirs, char **dirs)
        }
 
 
-#ifdef NO_STRERROR
+#ifndef HAVE_STRERROR
 /*
  * replacement strerror() for systems that don't have it
  */
-char *strerror(e)
-int e; {
+char *strerror(int e)
+{
        static char buf[32];
 
        sprintf(buf,"errno = %d",e);