RDP: fix warning
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 17 Aug 2014 06:20:29 +0000 (08:20 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 17 Aug 2014 06:20:29 +0000 (08:20 +0200)
modules/access/rdp.c

index 2011cfb..ed3b9e0 100644 (file)
@@ -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