[vlc-commits] RDP: fix warning

Jean-Baptiste Kempf git at videolan.org
Sun Aug 17 08:22:00 CEST 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 17 08:20:29 2014 +0200| [2b288c19b080e01606d74ee935c8572f55a95b69] | committer: Jean-Baptiste Kempf

RDP: fix warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b288c19b080e01606d74ee935c8572f55a95b69
---

 modules/access/rdp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/rdp.c b/modules/access/rdp.c
index 2011cfb..ed3b9e0 100644
--- a/modules/access/rdp.c
+++ b/modules/access/rdp.c
@@ -233,7 +233,7 @@ static bool postConnectHandler( freerdp *p_instance )
     vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_instance->context;
 
     msg_Dbg( p_vlccontext->p_demux, "connected to desktop %dx%d (%d bpp)",
-#if (FREERDP_VERSION_MAJOR >= 1 && FREERDP_VERSION_MINOR >= 1 )
+#if defined(FREERDP_VERSION_MAJOR)  && (FREERDP_VERSION_MAJOR >= 1 && FREERDP_VERSION_MINOR >= 1 )
              p_instance->settings->DesktopWidth,
              p_instance->settings->DesktopHeight,
              p_instance->settings->ColorDepth



More information about the vlc-commits mailing list