Include mach.h for macosx.

pull/156/head
Fredrik Öhrström 2020-10-24 18:38:44 +02:00
rodzic 3407bcfc3d
commit 23f9a92605
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -21,6 +21,10 @@
#include <sys/resource.h>
#include <stdio.h>
#if defined(__APPLE__) && defined(__MACH__)
#include <mach/mach.h>
#endif
using namespace std;
pthread_t main_thread_ {};