mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-17 06:25:11 +00:00
chore(Deps/Acelite): Update to 6.5.10 (#3450)
This commit is contained in:
1
deps/acelite/ace/os_include/sys/os_sem.h
vendored
1
deps/acelite/ace/os_include/sys/os_sem.h
vendored
@@ -23,6 +23,7 @@
|
||||
#endif /* ACE_LACKS_PRAGMA_ONCE */
|
||||
|
||||
#include "ace/os_include/sys/os_ipc.h"
|
||||
#include "ace/os_include/os_stdint.h"
|
||||
|
||||
#if !defined (ACE_LACKS_SYS_SEM_H)
|
||||
# include /**/ <sys/sem.h>
|
||||
|
||||
48
deps/acelite/ace/os_include/sys/os_socket.h
vendored
48
deps/acelite/ace/os_include/sys/os_socket.h
vendored
@@ -28,6 +28,10 @@
|
||||
# include /**/ <sys/socket.h>
|
||||
#endif /* !ACE_LACKS_SYS_SOCKET_H */
|
||||
|
||||
#if defined (ACE_USES_SOCKET_H)
|
||||
# include /**/ <socket.h>
|
||||
#endif /* ACE_USES_SOCKET_H */
|
||||
|
||||
#if defined (ACE_USES_SOCKLIB_H)
|
||||
# include /**/ <sockLib.h>
|
||||
#endif /* ACE_USES_SOCKLIB_H */
|
||||
@@ -73,7 +77,7 @@ extern "C"
|
||||
struct msghdr
|
||||
{
|
||||
/// Optional address
|
||||
sockaddr * msg_name;
|
||||
sockaddr *msg_name;
|
||||
|
||||
/// Size of address
|
||||
int msg_namelen;
|
||||
@@ -88,9 +92,49 @@ extern "C"
|
||||
caddr_t msg_accrights;
|
||||
|
||||
int msg_accrightslen;
|
||||
|
||||
/// Control messages, set msg_control to 0 if not using:
|
||||
void *msg_control;
|
||||
int msg_controllen;
|
||||
};
|
||||
|
||||
typedef WSACMSGHDR cmsghdr;
|
||||
#endif /* ACE_WIN32 */
|
||||
|
||||
// Using msghdr::msg_control and msghdr::msg_controllen portably:
|
||||
// For a parameter of size n, reserve space for ACE_CMSG_SPACE(n) bytes.
|
||||
// This can be extended to the sum of ACE_CMSG_SPACE(n_i) for multiple
|
||||
// parameters.
|
||||
// Pass that buffer's address and length as msg_control/msg_controllen when
|
||||
// invoking sendmsg/recvmsg. The buffer's address must be aligned to hold an
|
||||
// object of type cmsghdr at the beginning of the buffer.
|
||||
// If the send or recv succeeds, examine the
|
||||
// resulting cmsg structure using the following macros with signatures:
|
||||
// cmsghdr *ACE_CMSG_FIRSTHDR(msghdr *m)
|
||||
// cmsghdr *ACE_CMSG_NXTHDR(msghdr *m, cmsghdr *c)
|
||||
// unsigned char *ACE_CMSG_DATA(cmsghdr *c)
|
||||
|
||||
#ifdef ACE_WIN32
|
||||
# define ACE_CMSG_SPACE WSA_CMSG_SPACE
|
||||
# define ACE_CMSG_FIRSTHDR(msg) \
|
||||
(((unsigned) (msg)->msg_controllen >= sizeof (WSACMSGHDR)) \
|
||||
? (LPWSACMSGHDR) (msg)->msg_control : (LPWSACMSGHDR) 0)
|
||||
# define ACE_CMSG_NXTHDR(msg, cmsg) \
|
||||
(((cmsg) == 0) ? ACE_CMSG_FIRSTHDR (msg) \
|
||||
: ((((PUCHAR) (cmsg) + WSA_CMSGHDR_ALIGN ((cmsg)->cmsg_len) \
|
||||
+ sizeof (WSACMSGHDR)) > (PUCHAR) ((msg)->msg_control) \
|
||||
+ (msg)->msg_controllen) \
|
||||
? (LPWSACMSGHDR) 0 \
|
||||
: (LPWSACMSGHDR) ((PUCHAR) (cmsg) \
|
||||
+ WSA_CMSGHDR_ALIGN ((cmsg)->cmsg_len))))
|
||||
# define ACE_CMSG_DATA WSA_CMSG_DATA
|
||||
#else
|
||||
# define ACE_CMSG_SPACE CMSG_SPACE
|
||||
# define ACE_CMSG_FIRSTHDR CMSG_FIRSTHDR
|
||||
# define ACE_CMSG_NXTHDR CMSG_NXTHDR
|
||||
# define ACE_CMSG_DATA CMSG_DATA
|
||||
#endif
|
||||
|
||||
#if defined (ACE_HAS_4_4BSD_SENDMSG_RECVMSG)
|
||||
// Control message size to pass a file descriptor.
|
||||
# define ACE_BSD_CONTROL_MSG_LEN sizeof (struct cmsghdr) + sizeof (ACE_HANDLE)
|
||||
@@ -215,6 +259,7 @@ extern "C"
|
||||
#define ACE_HAS_SOCK_BUF_SIZE_MAX_VALUE SSIZE_MAX
|
||||
#endif /* ACE_HAS_SOCK_BUF_SIZE_MAX_VALUE */
|
||||
|
||||
#if !defined (ACE_SOCKET_LEN)
|
||||
#if defined (ACE_HAS_SOCKLEN_T)
|
||||
# if defined (__hpux)
|
||||
/*
|
||||
@@ -240,6 +285,7 @@ typedef size_t ACE_SOCKET_LEN;
|
||||
#else
|
||||
typedef int ACE_SOCKET_LEN;
|
||||
#endif /* ACE_HAS_SIZET_SOCKET_LEN */
|
||||
#endif /* ACE_SOCKET_LEN */
|
||||
|
||||
#if defined (ACE_HAS_NETLINK)
|
||||
# include /**/ <asm/types.h>
|
||||
|
||||
5
deps/acelite/ace/os_include/sys/os_types.h
vendored
5
deps/acelite/ace/os_include/sys/os_types.h
vendored
@@ -74,10 +74,9 @@ typedef double ACE_timer_t;
|
||||
typedef offset_t ACE_LOFF_T;
|
||||
#elif defined (WIN32)
|
||||
typedef __int64 ACE_LOFF_T;
|
||||
#elif (defined (ACE_VXWORKS) && (ACE_VXWORKS <= 0x690)) || \
|
||||
#elif (defined (ACE_VXWORKS) && (ACE_VXWORKS <= 0x700)) || \
|
||||
defined (ACE_LYNXOS_MAJOR) || \
|
||||
(defined (ACE_OPENVMS) && !defined (_LARGEFILE)) || \
|
||||
defined (__TANDEM)
|
||||
(defined (ACE_OPENVMS) && !defined (_LARGEFILE))
|
||||
typedef long long ACE_LOFF_T;
|
||||
#else
|
||||
typedef loff_t ACE_LOFF_T;
|
||||
|
||||
Reference in New Issue
Block a user