xxxxxxxxxx
--- lib.d
import app;
struct TypeA {}
struct TypeB {}
static if (true)//__VERSION__ >= 2098)
{
alias Foo = TypeA;
}
else
alias Foo = TypeB;
--- app.d
import lib;
Foo foo;
void main() {}