From: Hallvard Furuseth Date: Tue, 6 Apr 1999 01:25:03 +0000 (+0000) Subject: Use macros for the dummy definitions of sys_errlist/sys_errno X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~241 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e78f4140d7dbe046aba92ca316aa22a208d76c19;p=openldap Use macros for the dummy definitions of sys_errlist/sys_errno --- diff --git a/include/ac/errno.h b/include/ac/errno.h index 009c0f4639..48fa87da62 100644 --- a/include/ac/errno.h +++ b/include/ac/errno.h @@ -20,8 +20,8 @@ #ifdef DECL_SYS_ERRLIST #ifndef HAVE_SYS_ERRLIST -int sys_nerr; -char **sys_errlist; +#define sys_nerr 0 +#define sys_errlist ((char **)0) #else extern int sys_nerr; extern char *sys_errlist[];