Skip to content

Commit

Permalink
Land #753, enable __attribute__ on Windows with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
busterb committed May 9, 2022
2 parents a0044d5 + 87aff64 commit 45deaf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/windows_headers.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
+
Expand Down

0 comments on commit 45deaf0

Please sign in to comment.