mirror of https://github.com/YosysHQ/abc.git
Problem fix: <unistd.h> is not properly defined.
This commit is contained in:
parent
0d579a430d
commit
756e21a81d
|
|
@ -23,13 +23,18 @@
|
|||
|
||||
ABC_NAMESPACE_IMPL_START
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define unlink _unlink
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef ABC_USE_PTHREADS
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "../lib/pthread.h"
|
||||
#else
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue