Fix compilation without sound
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@684 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
519d85c1cf
commit
ab3dde972b
@ -569,7 +569,11 @@ main(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
if (strncmp("off", optarg, 3) == 0)
|
||||
#ifdef WITH_RDPSND
|
||||
g_rdpsnd = False;
|
||||
#else
|
||||
warning("Not compiled with sound support");
|
||||
#endif
|
||||
|
||||
optarg = p;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user