Don't compile heartbeat test code on Windows (for now).
[openssl.git] / ssl / heartbeat_test.c
index f339c4a16803d18dfbed872b0f5b173c1d19bcaa..d8cc559981c4446bd0ca0bc11733ee521e6f0890 100644 (file)
@@ -44,7 +44,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#ifndef OPENSSL_NO_HEARTBEATS
+#if !defined(OPENSSL_NO_HEARTBEATS) && !defined(OPENSSL_SYS_WINDOWS)
 
 /* As per https://tools.ietf.org/html/rfc6520#section-4 */
 #define MIN_PADDING_SIZE       16