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:
Michael Gernoth 2004-04-29 19:40:40 +00:00
parent 519d85c1cf
commit ab3dde972b

View File

@ -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;
}