diff options
author | Werner Koch <wk@gnupg.org> | 2019-02-04 11:50:17 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2019-02-04 11:50:17 +0100 |
commit | 21dd885eecdee13da1689519e2fc50fcf64f6ef2 (patch) | |
tree | 9eb60141c53f7727a173355c362847a6b8f07297 | |
parent | d8b64613d992fd3b7bf13eb299db21a307c8bfa1 (diff) | |
download | libgpg-error-21dd885eecdee13da1689519e2fc50fcf64f6ef2.tar.gz |
build: Fix for Microsoft MSVC.
* src/gpgrt-int.h (_gpgrt_functions_w32_pollable): Declare with extern
so that strict toolchains don't get confused.
--
GnuPG-bug-id: 4356
Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r-- | src/gpgrt-int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgrt-int.h b/src/gpgrt-int.h index 08496b2..c6188e1 100644 --- a/src/gpgrt-int.h +++ b/src/gpgrt-int.h @@ -473,8 +473,8 @@ const char *_gpgrt_fname_get (gpgrt_stream_t stream); #if HAVE_W32_SYSTEM -/* Prototypes for w32-estream.c. */ -struct cookie_io_functions_s _gpgrt_functions_w32_pollable; +/* Prototypes for w32-estream.c. */ +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, |