|
@@ -42,32 +42,32 @@
|
|
|
#include <pthread.h>
|
|
#include <pthread.h>
|
|
|
#include <signal.h>
|
|
#include <signal.h>
|
|
|
|
|
|
|
|
-#include "uv/threadpool.h"
|
|
|
|
|
|
|
+#include "threadpool.h"
|
|
|
|
|
|
|
|
#ifdef CMAKE_BOOTSTRAP
|
|
#ifdef CMAKE_BOOTSTRAP
|
|
|
-# include "uv/posix.h"
|
|
|
|
|
|
|
+# include "posix.h"
|
|
|
#elif defined(__linux__)
|
|
#elif defined(__linux__)
|
|
|
-# include "uv/linux.h"
|
|
|
|
|
|
|
+# include "linux.h"
|
|
|
#elif defined (__MVS__)
|
|
#elif defined (__MVS__)
|
|
|
-# include "uv/os390.h"
|
|
|
|
|
|
|
+# include "os390.h"
|
|
|
#elif defined(__PASE__)
|
|
#elif defined(__PASE__)
|
|
|
-# include "uv/posix.h"
|
|
|
|
|
|
|
+# include "posix.h"
|
|
|
#elif defined(_AIX)
|
|
#elif defined(_AIX)
|
|
|
-# include "uv/aix.h"
|
|
|
|
|
|
|
+# include "aix.h"
|
|
|
#elif defined(__sun)
|
|
#elif defined(__sun)
|
|
|
-# include "uv/sunos.h"
|
|
|
|
|
|
|
+# include "sunos.h"
|
|
|
#elif defined(__APPLE__)
|
|
#elif defined(__APPLE__)
|
|
|
-# include "uv/darwin.h"
|
|
|
|
|
|
|
+# include "darwin.h"
|
|
|
#elif defined(__DragonFly__) || \
|
|
#elif defined(__DragonFly__) || \
|
|
|
defined(__FreeBSD__) || \
|
|
defined(__FreeBSD__) || \
|
|
|
defined(__FreeBSD_kernel__) || \
|
|
defined(__FreeBSD_kernel__) || \
|
|
|
defined(__OpenBSD__) || \
|
|
defined(__OpenBSD__) || \
|
|
|
defined(__NetBSD__)
|
|
defined(__NetBSD__)
|
|
|
-# include "uv/bsd.h"
|
|
|
|
|
|
|
+# include "bsd.h"
|
|
|
#elif defined(__CYGWIN__) || defined(__MSYS__)
|
|
#elif defined(__CYGWIN__) || defined(__MSYS__)
|
|
|
-# include "uv/posix.h"
|
|
|
|
|
|
|
+# include "posix.h"
|
|
|
#elif defined(__GNU__)
|
|
#elif defined(__GNU__)
|
|
|
-# include "uv/posix.h"
|
|
|
|
|
|
|
+# include "posix.h"
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NI_MAXHOST
|
|
#ifndef NI_MAXHOST
|