修正xcode15编译报错的问题

This commit is contained in:
CounterFire2023 2023-10-17 11:47:42 +08:00
parent 93f084fada
commit a5aa4b1374

View File

@ -23,6 +23,24 @@
#ifndef UV_H
#define UV_H
#include "uv/errno.h"
#include "uv/version.h"
#include <stddef.h>
#include <stdio.h>
#if defined(_MSC_VER) && _MSC_VER < 1600
# include "uv/stdint-msvc2008.h"
#else
# include <stdint.h>
#endif
#if defined(_WIN32)
# include "uv/win.h"
#else
# include "uv/unix.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
@ -45,22 +63,7 @@ extern "C" {
# define UV_EXTERN /* nothing */
#endif
#include "uv/errno.h"
#include "uv/version.h"
#include <stddef.h>
#include <stdio.h>
#if defined(_MSC_VER) && _MSC_VER < 1600
# include "uv/stdint-msvc2008.h"
#else
# include <stdint.h>
#endif
#if defined(_WIN32)
# include "uv/win.h"
#else
# include "uv/unix.h"
#endif
/* Expand this list if necessary. */
#define UV_ERRNO_MAP(XX) \