1 diff -ur gpgmepp.org/lang/cpp/src/callbacks.cpp gpgmepp/lang/cpp/src/callbacks.cpp
2 --- gpgmepp.org/lang/cpp/src/callbacks.cpp 2016-10-18 19:22:02.000000000 +0200
3 +++ gpgmepp/lang/cpp/src/callbacks.cpp 2017-11-20 18:03:04.290060900 +0100
13 static inline gpgme_error_t make_err_from_syserror()
14 diff -ur gpgmepp.org/lang/cpp/src/data.h gpgmepp/lang/cpp/src/data.h
15 --- gpgmepp.org/lang/cpp/src/data.h 2017-03-24 15:20:32.000000000 +0100
16 +++ gpgmepp/lang/cpp/src/data.h 2017-11-20 17:23:24.802711200 +0100
22 +# include <BaseTsd.h>
23 +typedef SSIZE_T ssize_t;
29 diff -ur gpgmepp.org/lang/cpp/src/editinteractor.cpp gpgmepp/lang/cpp/src/editinteractor.cpp
30 --- gpgmepp.org/lang/cpp/src/editinteractor.cpp 2017-03-09 09:01:10.000000000 +0100
31 +++ gpgmepp/lang/cpp/src/editinteractor.cpp 2017-11-20 18:09:33.022674700 +0100
40 +# include <windows.h>
41 +# include <BaseTsd.h>
42 + typedef SSIZE_T ssize_t;
46 diff -ur gpgmepp.org/lang/cpp/src/gpgmepp_export.h gpgmepp/lang/cpp/src/gpgmepp_export.h
47 --- gpgmepp.org/lang/cpp/src/gpgmepp_export.h 2016-08-04 15:03:09.000000000 +0200
48 +++ gpgmepp/lang/cpp/src/gpgmepp_export.h 2017-11-20 16:57:47.805691100 +0100
50 # ifndef GPGMEPP_EXPORT
51 # ifdef BUILDING_GPGMEPP
52 /* We are building this library */
55 # define GPGMEPP_EXPORT __declspec(dllexport)
57 # define GPGMEPP_EXPORT __attribute__((visibility("default")))
60 /* We are using this library */
63 # define GPGMEPP_EXPORT __declspec(dllimport)
65 # define GPGMEPP_EXPORT __attribute__((visibility("default")))
69 # ifndef GPGMEPP_NO_EXPORT
72 # define GPGMEPP_NO_EXPORT
74 # define GPGMEPP_NO_EXPORT __attribute__((visibility("hidden")))
78 #ifndef GPGMEPP_DEPRECATED
79 -# define GPGMEPP_DEPRECATED __attribute__ ((__deprecated__))
81 +# define GPGMEPP_DEPRECATED __declspec(deprecated("deprecated"))
83 +# define GPGMEPP_DEPRECATED __attribute__ ((__deprecated__))
87 #ifndef GPGMEPP_DEPRECATED_EXPORT
88 diff -ur gpgmepp.org/lang/cpp/src/interfaces/dataprovider.h gpgmepp/lang/cpp/src/interfaces/dataprovider.h
89 --- gpgmepp.org/lang/cpp/src/interfaces/dataprovider.h 2016-05-17 14:32:37.000000000 +0200
90 +++ gpgmepp/lang/cpp/src/interfaces/dataprovider.h 2017-11-20 18:03:11.332715700 +0100
93 #include <gpg-error.h>
96 +# include <BaseTsd.h>
97 +typedef SSIZE_T ssize_t;
103 diff -ur gpgmepp.org/lang/cpp/src/key.cpp gpgmepp/lang/cpp/src/key.cpp
104 --- gpgmepp.org/lang/cpp/src/key.cpp 2017-03-20 20:10:15.000000000 +0100
105 +++ gpgmepp/lang/cpp/src/key.cpp 2017-11-20 17:44:50.321858800 +0100
118 +# define strcasecmp _stricmp
121 const GpgME::Key::Null GpgME::Key::null;
124 diff -ur gpgmepp.org/lang/cpp/src/key.h gpgmepp/lang/cpp/src/key.h
125 --- gpgmepp.org/lang/cpp/src/key.h 2017-03-20 20:10:15.000000000 +0100
126 +++ gpgmepp/lang/cpp/src/key.h 2017-11-20 17:07:51.551632000 +0100
131 -#include <sys/time.h>
135 diff -ur gpgmepp.org/lang/qt/src/qgpgme_export.h gpgmepp/lang/qt/src/qgpgme_export.h
136 --- gpgmepp.org/lang/qt/src/qgpgme_export.h 2016-11-03 17:32:30.000000000 +0100
137 +++ gpgmepp/lang/qt/src/qgpgme_export.h 2017-11-20 16:58:27.395388000 +0100
139 # ifndef QGPGME_EXPORT
140 # ifdef BUILDING_QGPGME
141 /* We are building this library */
144 # define QGPGME_EXPORT __declspec(dllexport)
146 # define QGPGME_EXPORT __attribute__((visibility("default")))
149 /* We are using this library */
152 # define QGPGME_EXPORT __declspec(dllimport)
154 # define QGPGME_EXPORT __attribute__((visibility("default")))
158 # ifndef QGPGME_NO_EXPORT
161 # define QGPGME_NO_EXPORT
163 # define QGPGME_NO_EXPORT __attribute__((visibility("hidden")))
167 #ifndef QGPGME_DEPRECATED
168 -# define QGPGME_DEPRECATED __attribute__ ((__deprecated__))
170 +# define QGPGME_DEPRECATED __declspec(deprecated("deprecated"))
172 +# define QGPGME_DEPRECATED __attribute__ ((__deprecated__))
176 #ifndef QGPGME_DEPRECATED_EXPORT