By using WIN32_LEAN_AND_MEAN we removed some critical headers

This commit is contained in:
Juan Jose Garcia Ripoll 2008-08-28 20:56:25 +02:00
parent ea258c8893
commit 8b1cf47459
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;