mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Use macros for the dummy definitions of sys_errlist/sys_errno
This commit is contained in:
parent
a66f4db90b
commit
e78f4140d7
1 changed files with 2 additions and 2 deletions
|
|
@ -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[];
|
||||
|
|
|
|||
Loading…
Reference in a new issue