mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
libuv: automatically skip ifaddrs on Solaris 10
This commit is contained in:
@@ -28,6 +28,10 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
#if !defined(SUNOS_NO_IFADDRS) && _XOPEN_SOURCE < 600
|
||||||
|
#define SUNOS_NO_IFADDRS
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SUNOS_NO_IFADDRS
|
#ifndef SUNOS_NO_IFADDRS
|
||||||
# include <ifaddrs.h>
|
# include <ifaddrs.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user