Please don't do this.  Code which cuts expressions with `#if`s must be manually fixed for the D port.