mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-16 06:12:25 -08:00
Avoid accidentally including winsock.h
This commit is contained in:
parent
20f7ebe56c
commit
5346fd6684
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue