summaryrefslogtreecommitdiff
path: root/e_os.h
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2014-09-04 17:15:42 -0400
committerRich Salz <rsalz@openssl.org>2014-09-08 11:08:01 -0400
commit45236ed6a4639ae8c33ce8e8a7dff33ad727e993 (patch)
treee4aea49153254deaa6c3f78762625cef28bd56e3 /e_os.h
parent240635c0b275da3d3f8adf4aa94b428ee33530b8 (diff)
downloadopenssl-new-45236ed6a4639ae8c33ce8e8a7dff33ad727e993.tar.gz
RT3108: OPENSSL_NO_SOCK should imply OPENSSL_NO_DGRAM
Reviewed-by: Dr. Stephen Henson <steve@openssl.org> (cherry picked from commit be0bd11d698677bb7dde14cde73af098da94da18)
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/e_os.h b/e_os.h
index bfd7e36a19..a7eb594858 100644
--- a/e_os.h
+++ b/e_os.h
@@ -496,6 +496,10 @@ static unsigned int _strlen31(const char *str)
/*************/
+#if defined(OPENSSL_NO_SOCK) && !defined(OPENSSL_NO_DGRAM)
+# define OPENSSL_NO_DGRAM
+#endif
+
#ifdef USE_SOCKETS
# if defined(WINDOWS) || defined(MSDOS)
/* windows world */