By using WIN32_LEAN_AND_MEAN we removed some critical headers

This commit is contained in:
jjgarcia 2008-08-28 19:10:13 +00:00
parent e86c6ec83d
commit fff7731bec
2 changed files with 3 additions and 2 deletions

View file

@ -20,7 +20,8 @@
#include <ecl/ecl.h>
#include <limits.h>
#ifdef _MSC_VER
#define MAXPATHLEN 512
# include <shellapi.h>
# define MAXPATHLEN 512
#endif
#ifndef MAXPATHLEN
# ifdef PATH_MAX

View file

@ -43,7 +43,7 @@
#undef HAVE_NANOSLEEP
#endif
#if !defined(HAVE_GETTIMEOFDAY) && !defined(HAVE_GETRUSAGE) && !defined(_MSC_VER) && !defined(mingw32)
#if !defined(HAVE_GETTIMEOFDAY) && !defined(HAVE_GETRUSAGE) && !defined(mingw32)
struct timeval {
long tv_sec;
long tv_usec;