summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2014-09-04 23:15:42 +0200
committerRich Salz <rsalz@openssl.org>2014-09-08 17:07:45 +0200
commitbe0bd11d698677bb7dde14cde73af098da94da18 (patch)
treeafca04920c8221044b306274f69f762e730a0a72 /e_os.h
parentRT3031: Need to #undef some names for win32 (diff)
downloadopenssl-be0bd11d698677bb7dde14cde73af098da94da18.tar.xz
openssl-be0bd11d698677bb7dde14cde73af098da94da18.zip
RT3108: OPENSSL_NO_SOCK should imply OPENSSL_NO_DGRAM
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to '')
-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 */