KF 5.66 is required, and the code dependent on the define was removed with commit 41397521 ("add initial wsdiscovery support").