Kaydet (Commit) a0d4ebae authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wundef (clang-cl)

Change-Id: Ie63408ddd3216b9012530f65f93c98cf04f0deca
Reviewed-on: https://gerrit.libreoffice.org/46197Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst cc91ea2c
......@@ -20,6 +20,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libgpg-error, \
$(if $(filter MSC,$(COM)),external/libgpg-error/w32-build-fixes-3.patch.1) \
$(if $(filter MSC,$(COM)),external/libgpg-error/w32-disable-dllinit.patch.1) \
external/libgpg-error/w32-build-fixes-4.patch \
external/libgpg-error/clang-cl.patch \
))
# vim: set noet sw=4 ts=4:
--- src/gpg-error.h.in
+++ src/gpg-error.h.in
@@ -141,7 +141,7 @@
/* GCC feature test. */
-#if __GNUC__
+#if defined __GNUC__
# define _GPG_ERR_GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment