aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2022-05-09 01:30:43 -0500
committerBrent Cook <busterb@gmail.com>2022-05-09 01:30:43 -0500
commit45deaf0e5e0aaa22a3a341e0eb2973c0b04700a5 (patch)
tree76f42d2215d0c228d37f9a605ed8052f68f8d528
parenta0044d5a36252d82b0f7b2f1550f7fff701a484a (diff)
parent87aff644a4d5dbff48fd116ab8a2316afae3d4fd (diff)
downloadportable-45deaf0e5e0aaa22a3a341e0eb2973c0b04700a5.tar.gz
portable-45deaf0e5e0aaa22a3a341e0eb2973c0b04700a5.tar.bz2
portable-45deaf0e5e0aaa22a3a341e0eb2973c0b04700a5.zip
Land #753, enable __attribute__ on Windows with clang
-rw-r--r--patches/windows_headers.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/windows_headers.patch b/patches/windows_headers.patch
index cfbed95..0e9428c 100644
--- a/patches/windows_headers.patch
+++ b/patches/windows_headers.patch
@@ -19,7 +19,7 @@ diff -u include/openssl.orig/dtls1.h include/openssl/dtls1.h
19 #include <openssl/opensslfeatures.h> 19 #include <openssl/opensslfeatures.h>
20 /* crypto/opensslconf.h.in */ 20 /* crypto/opensslconf.h.in */
21 21
22+#if defined(_MSC_VER) && !defined(__attribute__) 22+#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__)
23+#define __attribute__(a) 23+#define __attribute__(a)
24+#endif 24+#endif
25+ 25+