[PATCH 3/3] port: get this to build with clang-cl on W32

thb at libreoffice.org thb at libreoffice.org
Tue Jan 30 20:12:56 CET 2018


From: Stephan Bergmann <sbergman at redhat.com>

Signed-off-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
---
 src/gpg-error.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in
index 46e8f53..e359262 100644
--- a/src/gpg-error.h.in
+++ b/src/gpg-error.h.in
@@ -142,7 +142,7 @@ typedef unsigned int gpg_error_t;
 
 
 /* GCC feature test.  */
-#if __GNUC__
+#if defined __GNUC__
 # define _GPG_ERR_GCC_VERSION (__GNUC__ * 10000 \
                                + __GNUC_MINOR__ * 100 \
                                + __GNUC_PATCHLEVEL__)
-- 
2.13.6




More information about the Gnupg-devel mailing list