diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /external/libgpg-error/clang-cl.patch | |
parent | Initial commit. (diff) | |
download | libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.tar.xz libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'external/libgpg-error/clang-cl.patch')
-rw-r--r-- | external/libgpg-error/clang-cl.patch | 22 |
1 files changed, 22 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..ef1447fb6 --- /dev/null +++ b/external/libgpg-error/clang-cl.patch @@ -0,0 +1,22 @@ +--- 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__) +--- src/gpgrt-int.h ++++ src/gpgrt-int.h +@@ -359,7 +359,7 @@ + + #if _WIN32 + /* Prototypes for w32-estream.c. */ +-struct cookie_io_functions_s _gpgrt_functions_w32_pollable; ++extern struct cookie_io_functions_s _gpgrt_functions_w32_pollable; + int _gpgrt_w32_pollable_create (void *_GPGRT__RESTRICT *_GPGRT__RESTRICT cookie, + unsigned int modeflags, + struct cookie_io_functions_s next_functions, |