hujun5 5c5c6653fd libuv: fix build error
If UV_ONCE_INIT is a struct, the following errors will occur:

libuv/src/unix/nuttx.c: In function 'uv__global_get':
/home/hujun5/downloads1/vela_sim/apps/system/libuv/libuv/include/uv/unix.h:136:22: error: expected expression before '{' token
  136 | #define UV_ONCE_INIT PTHREAD_ONCE_INIT
      |                      ^~~~~~~~~~~~~~~~~
libuv/src/unix/nuttx.c:287:26: note: in expansion of macro 'UV_ONCE_INIT'
  287 |           global->once = UV_ONCE_INIT;
      |                          ^~~~~~~~~~~~
/home/hujun5/downloads1/vela_sim/apps/system/libuv/libuv/include/uv/unix.h:136:22: error: expected expression before '{' token
  136 | #define UV_ONCE_INIT PTHREAD_ONCE_INIT
      |                      ^~~~~~~~~~~~~~~~~
libuv/src/unix/nuttx.c:288:50: note: in expansion of macro 'UV_ONCE_INIT'
  288 |           global->uv__signal_global_init_guard = UV_ONCE_INIT;

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-09-23 13:18:27 +08:00
..
2023-09-11 16:37:05 +08:00
2023-05-08 21:35:16 +03:00
2023-07-08 13:52:02 +08:00
2023-09-11 16:37:05 +08:00
2023-07-08 13:52:02 +08:00
2023-08-09 20:59:40 +08:00
2023-07-08 13:52:02 +08:00
2023-08-26 17:06:55 +08:00
2022-09-27 19:39:31 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-08-14 13:40:15 +08:00
2023-09-23 13:18:27 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-08-01 23:10:32 -07:00
2023-07-08 13:52:02 +08:00
2023-07-29 20:29:54 -07:00
2023-01-05 21:42:15 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00
2023-05-13 10:15:02 -03:00
2023-05-10 15:40:06 +02:00
2023-08-11 13:52:12 +08:00
2023-09-11 16:37:05 +08:00
2023-07-08 13:52:02 +08:00
2023-07-30 01:20:36 -07:00
2023-07-08 13:52:02 +08:00
2023-07-08 13:52:02 +08:00