修正xcode15编译报错的问题
This commit is contained in:
parent
93f084fada
commit
a5aa4b1374
33
external/ios/include/uv/uv.h
vendored
33
external/ios/include/uv/uv.h
vendored
@ -23,6 +23,24 @@
|
|||||||
|
|
||||||
#ifndef UV_H
|
#ifndef UV_H
|
||||||
#define 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
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@ -45,22 +63,7 @@ extern "C" {
|
|||||||
# define UV_EXTERN /* nothing */
|
# define UV_EXTERN /* nothing */
|
||||||
#endif
|
#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. */
|
/* Expand this list if necessary. */
|
||||||
#define UV_ERRNO_MAP(XX) \
|
#define UV_ERRNO_MAP(XX) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user