mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Fix definitions of SHUT_RD and SHUT_WR
Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19345)
This commit is contained in:
parent
76228352d8
commit
4ccb89bba7
@ -61,6 +61,17 @@ struct servent *PASCAL getservbyname(const char *, const char *);
|
||||
# define accept(s,f,l) ((int)accept(s,f,l))
|
||||
# endif
|
||||
|
||||
/* Windows have other names for shutdown() reasons */
|
||||
# ifndef SHUT_RD
|
||||
# define SHUT_RD SD_RECEIVE
|
||||
# endif
|
||||
# ifndef SHUT_WR
|
||||
# define SHUT_WR SD_SEND
|
||||
# endif
|
||||
# ifndef SHUT_RDWR
|
||||
# define SHUT_RDWR SD_BOTH
|
||||
# endif
|
||||
|
||||
# else
|
||||
# if defined(__APPLE__)
|
||||
/*
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "internal/quic_record_rx.h"
|
||||
#include "internal/quic_ackm.h"
|
||||
#include "internal/quic_rx_depack.h"
|
||||
#include "internal/sockets.h"
|
||||
|
||||
#include "quic_record_rx_wrap.h"
|
||||
#include "quic_local.h"
|
||||
|
Loading…
Reference in New Issue
Block a user