mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
[SCHANNEL]
- try fixing compilation with VS>=2010 svn path=/trunk/; revision=64019
This commit is contained in:
parent
c7523cf282
commit
a08e128f01
|
@ -35,7 +35,11 @@
|
||||||
#if defined(SONAME_LIBGNUTLS) && !defined(HAVE_SECURITY_SECURITY_H)
|
#if defined(SONAME_LIBGNUTLS) && !defined(HAVE_SECURITY_SECURITY_H)
|
||||||
|
|
||||||
static void *libgnutls_handle;
|
static void *libgnutls_handle;
|
||||||
|
#if (_MSC_VER >= 1600)
|
||||||
|
#define MAKE_FUNCPTR(f) static decltype(f) p##f
|
||||||
|
#else
|
||||||
#define MAKE_FUNCPTR(f) static typeof(f) * p##f
|
#define MAKE_FUNCPTR(f) static typeof(f) * p##f
|
||||||
|
#endif
|
||||||
MAKE_FUNCPTR(gnutls_alert_get);
|
MAKE_FUNCPTR(gnutls_alert_get);
|
||||||
MAKE_FUNCPTR(gnutls_alert_get_name);
|
MAKE_FUNCPTR(gnutls_alert_get_name);
|
||||||
MAKE_FUNCPTR(gnutls_certificate_allocate_credentials);
|
MAKE_FUNCPTR(gnutls_certificate_allocate_credentials);
|
||||||
|
|
Loading…
Reference in a new issue