Avoid accidentally including winsock.h

This commit is contained in:
jjgarcia 2008-08-27 08:25:59 +00:00
parent 20f7ebe56c
commit 5346fd6684

View file

@ -57,6 +57,7 @@ typedef unsigned short uint16_t;
#ifdef ECL_THREADS
# if defined(_MSC_VER) || defined(mingw32)
# define WIN32_LEAN_AND_MEAN 1 /* Do not include winsock.h */
# include <windows.h>
typedef HANDLE pthread_t;
typedef HANDLE pthread_mutex_t;