2017-10-09 15 views

Répondre

1

Insertion suivantes lignes de code

#ifndef _MACH_PORT_T 
#define _MACH_PORT_T 
#include <sys/_types.h> /* __darwin_mach_port_t */ 
typedef __darwin_mach_port_t mach_port_t; 
#include <pthread.h> 
mach_port_t pthread_mach_thread_np(pthread_t); 
#endif /* _MACH_PORT_T */ 

dans le fichier:

/Bibliothèque/Développeur/CommandLineTools/usr/include/C++/v1/__ threading_support

Ce problème est discuté in this thread.