Hi, In the development of my library, I'm in a position where I need to add support for multiple compilers. For instance, supporting both the assembly of LDC/DMD and GDC. I want to do something like:

version(DigitalMars && LDC)
{
}

However, it doesn't compile which forces me to rewrote the same code for both DigitalMars and LDC

version(DigitalMars)
{
}

version(LDC)
{
}

Is there a way to check both versions at the same time? (I can't seem to find the solution through google, sorry)

Thanks,
Danyal Zia

Reply via email to