Commit 384cdd46 authored by Richard Levitte's avatar Richard Levitte
Browse files

Fix guarding macro in include/internal/sockets.h



The guard was checked but never defined.  Also, rename it to reflect
that this is an internal header file, not a public one.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4254)
parent 9a5d80cb
Loading
Loading
Loading
Loading
+34 −34
Original line number Diff line number Diff line
@@ -8,7 +8,8 @@
 */


#ifndef HEADER_OPENSSL_SOCKETS
#ifndef HEADER_INTERNAL_SOCKETS
# define HEADER_INTERNAL_SOCKETS

# if defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI)
#  define NO_SYS_PARAM_H
@@ -125,8 +126,6 @@ struct servent *PASCAL getservbyname(const char *, const char *);
#  endif
# endif

#endif

# define get_last_socket_error() errno
# define clear_socket_error()    errno=0

@@ -160,3 +159,4 @@ struct servent *PASCAL getservbyname(const char *, const char *);
#  define writesocket(s,b,n)      write((s),(b),(n))
# endif

#endif