ITS#4606 fix sys_errlist detection on WIN32 / MSVC

This commit is contained in:
Howard Chu 2006-09-14 05:02:41 +00:00
parent 8c939e1905
commit 8585b7d6bb

View 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])])