Fixed wrong define check

The deprecated command line must only be used if
WITH_FREERDP_DEPRECATED_COMMANDLINE is defined
This commit is contained in:
akallabeth
2022-10-21 09:23:57 +02:00
committed by David Fort
parent 3023057b16
commit 450f8a1d7e

View File

@@ -174,7 +174,7 @@ static const test tests[] = {
check_settings_smartcard_no_redirection,
{ "testfreerdp", "--invalid", 0 },
{ { 0 } } },
#if defined(WITH_FREERDP_DEPRECATED)
#if defined(WITH_FREERDP_DEPRECATED_CMDLINE)
{ COMMAND_LINE_STATUS_PRINT,
check_settings_smartcard_no_redirection,
{ "testfreerdp", "/kbd-list", 0 },