qt: add device preferences for mmdevice
[vlc.git] / contrib / src / ssh2 / winrt-no-agent.patch
blobe1b30bf349cfc10c0c5f7fd6aa344b2ddb5964ab
1 --- ssh2/src/agent.c.orig 2016-05-09 17:39:46.474593275 +0200
2 +++ ssh2/src/agent.c 2016-05-09 17:40:03.058578212 +0200
3 @@ -251,7 +251,7 @@
4 };
5 #endif /* PF_UNIX */
7 -#ifdef WIN32
8 +#if defined(WIN32) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
9 /* Code to talk to Pageant was taken from PuTTY.
11 * Portions copyright Robert de Bath, Joris van Rantwijk, Delian
12 @@ -353,7 +353,7 @@
13 const char *name;
14 struct agent_ops *ops;
15 } supported_backends[] = {
16 -#ifdef WIN32
17 +#if defined(WIN32) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
18 {"Pageant", &agent_ops_pageant},
19 #endif /* WIN32 */
20 #ifdef PF_UNIX