Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / external / libgpg-error / clang-cl.patch
blobef1447fb61d9b11e6fac4115c39e00da29e6a546
1 --- src/gpg-error.h.in
2 +++ src/gpg-error.h.in
3 @@ -141,7 +141,7 @@
5 \f
6 /* GCC feature test. */
7 -#if __GNUC__
8 +#if defined __GNUC__
9 # define _GPG_ERR_GCC_VERSION (__GNUC__ * 10000 \
10 + __GNUC_MINOR__ * 100 \
11 + __GNUC_PATCHLEVEL__)
12 --- src/gpgrt-int.h
13 +++ src/gpgrt-int.h
14 @@ -359,7 +359,7 @@
16 #if _WIN32
17 /* Prototypes for w32-estream.c. */
18 -struct cookie_io_functions_s _gpgrt_functions_w32_pollable;
19 +extern struct cookie_io_functions_s _gpgrt_functions_w32_pollable;
20 int _gpgrt_w32_pollable_create (void *_GPGRT__RESTRICT *_GPGRT__RESTRICT cookie,
21 unsigned int modeflags,
22 struct cookie_io_functions_s next_functions,