mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
test: fix -fno-common build errors
Fixes: https://github.com/libuv/libuv/issues/2603 PR-URL: https://github.com/libuv/libuv/pull/2604 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
This commit is contained in:
parent
623aa05ac7
commit
d42a108583
@ -31,11 +31,9 @@
|
||||
# define NO_INLINE __attribute__ ((noinline))
|
||||
#endif
|
||||
|
||||
|
||||
uv_os_sock_t sock;
|
||||
uv_poll_t handle;
|
||||
|
||||
#ifdef _WIN32
|
||||
static uv_os_sock_t sock;
|
||||
static uv_poll_t handle;
|
||||
static int close_cb_called = 0;
|
||||
|
||||
|
||||
|
@ -25,10 +25,9 @@
|
||||
#include "uv.h"
|
||||
#include "task.h"
|
||||
|
||||
uv_os_sock_t sock;
|
||||
uv_poll_t handle;
|
||||
|
||||
#ifdef _WIN32
|
||||
static uv_os_sock_t sock;
|
||||
static uv_poll_t handle;
|
||||
static int close_cb_called = 0;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user