[vinagre] Fix build against recent versions of FreeRDP



commit c8352d4ba348848113d47d4df1659b88affa0789
Author: David King <amigadave amigadave com>
Date:   Mon Nov 16 10:13:19 2015 +0000

    Fix build against recent versions of FreeRDP

 plugins/rdp/vinagre-rdp-tab.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/rdp/vinagre-rdp-tab.c b/plugins/rdp/vinagre-rdp-tab.c
index 3205a67..12439e3 100644
--- a/plugins/rdp/vinagre-rdp-tab.c
+++ b/plugins/rdp/vinagre-rdp-tab.c
@@ -1108,7 +1108,7 @@ open_freerdp (VinagreRdpTab *rdp_tab)
   settings->encryption_level = ENCRYPTION_LEVEL_CLIENT_COMPATIBLE;
 #endif
 #include <freerdp/version.h>
-#if (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2 && FREERDP_VERSION_REVISION >= 1)
+#if (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2 && FREERDP_VERSION_REVISION >= 1) || 
(FREERDP_VERSION_MAJOR == 2)
   settings->UseRdpSecurityLayer = FALSE;
 #else
   settings->DisableEncryption = FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]