summaryrefslogtreecommitdiffstats
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:07:45 -0400
commitbe0bd11d698677bb7dde14cde73af098da94da18 (patch)
treeafca04920c8221044b306274f69f762e730a0a72 /e_os.h
parent83e4e03eeb22d2fbaec516a466330f2ccab22864 (diff)
RT3108: OPENSSL_NO_SOCK should imply OPENSSL_NO_DGRAM
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
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 ced9483ab0..27b18256b6 100644
--- a/e_os.h
+++ b/e_os.h
@@ -499,6 +499,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 */