[libsoup] Fix the DDL cross-compile build. Missing `extern`.
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] Fix the DDL cross-compile build. Missing `extern`.
- Date: Tue, 7 Dec 2021 18:31:34 +0000 (UTC)
commit 7c8272813f1dac68804f7d21cec47bf91a641c18
Author: Melroy van den Berg <webmaster1989 gmail com>
Date: Mon Dec 6 19:49:13 2021 +0000
Fix the DDL cross-compile build. Missing `extern`.
libsoup/soup-version.h.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index f43d4862..557bf95f 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
# ifdef G_PLATFORM_WIN32
# ifdef LIBSOUP_COMPILATION
# ifdef DLL_EXPORT
-# define SOUP_VAR __declspec(dllexport)
+# define SOUP_VAR extern __declspec(dllexport)
# else /* !DLL_EXPORT */
# define SOUP_VAR extern
# endif /* !DLL_EXPORT */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]