mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-03 02:41:24 +08:00
ITS#4606 fix sys_errlist detection on WIN32 / MSVC
This commit is contained in:
parent
8c939e1905
commit
8585b7d6bb
@ -1167,7 +1167,7 @@ AC_DEFUN([OL_SYS_ERRLIST],
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#ifdef WINNT
|
||||
#ifdef _WIN32
|
||||
#include <stdlib.h>
|
||||
#endif ]], [[char *c = (char *) *sys_errlist]])],[ol_cv_dcl_sys_errlist=yes
|
||||
ol_cv_have_sys_errlist=yes],[ol_cv_dcl_sys_errlist=no])])
|
||||
|
Loading…
Reference in New Issue
Block a user