summaryrefslogtreecommitdiffstats
path: root/external/libgpg-error/clang-cl.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--external/libgpg-error/clang-cl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/external/libgpg-error/clang-cl.patch b/external/libgpg-error/clang-cl.patch
new file mode 100644
index 000000000..3a635c5d8
--- /dev/null
+++ b/external/libgpg-error/clang-cl.patch
@@ -0,0 +1,11 @@
+--- src/gpg-error.h.in
++++ src/gpg-error.h.in
+@@ -152,7 +152,7 @@
+ /*
+ * GCC feature test.
+ */
+-#if __GNUC__
++#ifdef __GNUC__
+ # define _GPG_ERR_GCC_VERSION (__GNUC__ * 10000 \
+ + __GNUC_MINOR__ * 100 \
+ + __GNUC_PATCHLEVEL__)