From: Howard Chu Date: Thu, 14 Sep 2006 05:02:41 +0000 (+0000) Subject: ITS#4606 fix sys_errlist detection on WIN32 / MSVC X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~146 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8585b7d6bbf0a2721d8ef4aecc2099fa3a078435;p=openldap ITS#4606 fix sys_errlist detection on WIN32 / MSVC --- diff --git a/build/openldap.m4 b/build/openldap.m4 index 33fb69399b..273a61c74f 100644 --- a/build/openldap.m4 +++ b/build/openldap.m4 @@ -1167,7 +1167,7 @@ AC_DEFUN([OL_SYS_ERRLIST], #include #include #include -#ifdef WINNT +#ifdef _WIN32 #include #endif ]], [[char *c = (char *) *sys_errlist]])],[ol_cv_dcl_sys_errlist=yes ol_cv_have_sys_errlist=yes],[ol_cv_dcl_sys_errlist=no])])