]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/bio/bio_local.h
Add config option OPENSSL_NO_UNIX_SOCK
[thirdparty/openssl.git] / crypto / bio / bio_local.h
index 557a1d35d7ab6289078506fa089a07b5733efef9..87779c8e02b707b935e7145522910a68104d34bb 100644 (file)
 #  error openssl/bio.h included before bio_local.h
 # endif
 
-/*
- * Undefine AF_UNIX on systems that define it but don't support it.
- */
-# if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_VMS)
-#  undef AF_UNIX
-# endif
-
 # ifdef AI_PASSIVE
 
 /*
@@ -77,7 +70,7 @@ union bio_addr_st {
     struct sockaddr_in6 s_in6;
 # endif
     struct sockaddr_in s_in;
-# ifdef AF_UNIX
+# ifndef OPENSSL_NO_UNIX_SOCK
     struct sockaddr_un s_un;
 # endif
 };