Land #753, enable __attribute__ on Windows with clang

This commit is contained in:
Brent Cook 2022-05-09 01:30:43 -05:00
commit 45deaf0e5e

View File

@ -19,7 +19,7 @@ diff -u include/openssl.orig/dtls1.h include/openssl/dtls1.h
#include <openssl/opensslfeatures.h>
/* crypto/opensslconf.h.in */
+#if defined(_MSC_VER) && !defined(__attribute__)
+#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__)
+#define __attribute__(a)
+#endif
+