1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

include <pthread> on all BSDs

This commit is contained in:
Alexander Medvednikov 2019-07-23 23:15:13 +02:00
parent b06cfd702d
commit 3cf8e18cf6

View File

@ -189,19 +189,11 @@ fn (v mut V) compile() {
#include <inttypes.h> // int64_t etc
#if defined(__linux__) || defined(__OpenBSD__)
#include <pthread.h>
#endif
#ifdef __APPLE__
#include <pthread.h>
#endif
#ifdef _WIN32
#include <windows.h>
//#include <WinSock2.h>
#else
#include <pthread.h>
#endif
//================================== TYPEDEFS ================================*/