summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bio_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bio/bio_local.h')
-rw-r--r--crypto/bio/bio_local.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/crypto/bio/bio_local.h b/crypto/bio/bio_local.h
index fcabc7b9cd..b74e950d77 100644
--- a/crypto/bio/bio_local.h
+++ b/crypto/bio/bio_local.h
@@ -33,13 +33,6 @@
# 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
};