[Bug 48838] Fails to compile due to wrong #ifdef