]> git.sur5r.net Git - openldap/commitdiff
ITS#4606 fix sys_errlist detection on WIN32 / MSVC
authorHoward Chu <hyc@openldap.org>
Thu, 14 Sep 2006 05:02:41 +0000 (05:02 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 14 Sep 2006 05:02:41 +0000 (05:02 +0000)
build/openldap.m4

index 33fb69399b0f001d9cb187f905dd868b2b9d6be6..273a61c74ff767a5275b60d63230f2f8cf5a0e77 100644 (file)
@@ -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])])