freetdm: add WIN32_LEAN_AND_MEAN fix

This commit is contained in:
Moises Silva 2011-01-27 17:27:50 -05:00
parent 1842798e95
commit 189db0e7ad
2 changed files with 4 additions and 1 deletions

0
libs/freetdm/cyginstall.sh Normal file → Executable file
View File

View File

@ -94,7 +94,10 @@
!strcasecmp(expr, "active") || \ !strcasecmp(expr, "active") || \
atoi(expr))) ? 1 : 0 atoi(expr))) ? 1 : 0
#ifdef WIN32_LEAN_AND_MEAN
#include <winsock2.h>
#include <mmsystem.h>
#endif
#include <time.h> #include <time.h>
#ifndef __WINDOWS__ #ifndef __WINDOWS__