vcpkg/ports/libidn2/fix-msvc.patch
Kai Pastor 250d7a0827
[libidn2] Update, control nls/gettext, fix copyright (#27680)
* [gmime] Use pkg-config for libidn2

* Update, drop CMake, control nls/gettext, copyright

* Update versions

* Feature nls everywhere
2022-11-09 12:14:28 -08:00

14 lines
374 B
Diff

diff --git a/lib/idn2.h.in b/lib/idn2.h.in
index 703477e..0c37b2e 100644
--- a/lib/idn2.h.in
+++ b/lib/idn2.h.in
@@ -104,8 +104,6 @@ extern "C"
*/
# if GCC_VERSION_AT_LEAST(3,1)
# define G_GNUC_DEPRECATED __attribute__((deprecated))
-# elif defined(_MSC_VER)
-# define G_GNUC_DEPRECATED __declspec(deprecated)
# else
# define G_GNUC_DEPRECATED /* empty */
# endif