Brad King
3825a56493
libuv: Simplify variable initializations to satisfy Clang scan-build
...
The Clang scan-build tool warns about assignments whose values are never
used, so initialize local variables at declaration instead.
2016-09-01 11:10:18 -04:00
Brad King
551d5aedbf
libuv: Fix unused variable warning in uv_loop_close
2016-08-31 09:05:14 -04:00
Brad King
f4f8074bec
libuv: Avoid including macOS CoreServices header globally
...
We only need the availability macros in `unix/internal.h`. We already
include CoreServices where needed in implementation files.
2016-08-31 09:05:13 -04:00
Brad King
a63aaaed05
libuv: Always include our own header first
2016-08-31 09:05:13 -04:00
Brad King
9130b53a5e
libuv: Conditionally declare Windows APIs for VS 2008 and below
2016-08-31 09:05:13 -04:00
Brad King
b52afa4655
libuv: Fix anonymous union syntax
2016-08-31 09:05:13 -04:00
Brad King
05dbc204cd
libuv: Fix Windows API function typedef syntax
2016-08-31 09:05:12 -04:00
Brad King
75139374f0
libuv: Install LICENSE file with CMake documentation
...
When we install using the bundled libuv source, notify users of its
license terms.
2016-08-31 09:05:12 -04:00
Brad King
95dcc4e474
libuv: Disable warnings to avoid changing 3rd party code
...
Add '-w' or equivalent flag on compilers supporting it.
Tell MSVC to use its lowest warning level inside libuv sources.
2016-08-31 09:05:12 -04:00
Brad King
13b7e7587d
libuv: Build the library within CMake
...
Take logic from upstream `Makefile.am` and `configure.ac` to build libuv
sources.
Update `uv.h` to include KWSys Large File Support configuration so that
consistent stream libraries are used (on AIX with XL).
Add a `cm_uv.h` header to include the CMake-provided copy of the `uv.h`
header from CMake sources.
2016-08-31 09:02:19 -04:00
Brad King
d96416fe48
Merge branch 'upstream-libuv' into import-libuv
...
* upstream-libuv:
libuv 2016-08-30 (897738b1)
2016-08-31 09:01:07 -04:00