bio/bss_dgram.c: harmonize usage of OPENSSL_USE_IPV6 with the rest.
[openssl.git] / crypto / bio / bss_dgram.c
index 424109c96184036a787893c28f5fe5aa53815eaf..d5fe5bb5a8a2d7c7b394577131cafbd15777160e 100644 (file)
@@ -364,7 +364,7 @@ static long dgram_get_mtu_overhead(bio_dgram_data *data)
          */
         ret = 28;
         break;
-# ifdef AF_INET6
+# if OPENSSL_USE_IPV6
     case AF_INET6:
         {
 #  ifdef IN6_IS_ADDR_V4MAPPED