uv: upgrade to 7f82995
This commit is contained in:
parent
b7c23ac3f5
commit
01b64fc36b
9
deps/uv/src/uv-unix.c
vendored
9
deps/uv/src/uv-unix.c
vendored
@ -47,13 +47,10 @@
|
|||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
/* pipe2() requires linux >= 2.6.27 and glibc >= 2.9 */
|
/* pipe2() requires linux >= 2.6.27 and glibc >= 2.9 */
|
||||||
#define HAVE_PIPE2 \
|
#if defined(LINUX_VERSION_CODE) && defined(__GLIBC_PREREQ) && LINUX_VERSION_CODE >= 0x2061B && __GLIBC_PREREQ(2, 9)
|
||||||
defined(LINUX_VERSION_CODE) && defined(__GLIBC_PREREQ) && \
|
#define HAVE_PIPE2
|
||||||
LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) && __GLIBC_PREREQ(2, 9))
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* XXX disabling HAVE_PIPE2 for now can't compile on 2.6.18 */
|
|
||||||
#undef HAVE_PIPE2
|
|
||||||
|
|
||||||
#ifdef __sun
|
#ifdef __sun
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user