You could do
```
dbSettings.host = CSpecialProtocol::TranslatePath(CProfilesManager::Get().GetDatabaseFolder());
#if defined(TARGET_WINDOWS)
// very long and descriptive comment
dbSettings.host = CWIN32Util::SmbToUnc(dbSettings.host);
#endif
```
to save a bit of code duplication.