On Wednesday, 18 March 2020 at 16:23:26 UTC, IGotD- wrote:
you get the idea. So is this possible at all or do you have to duplicate the code for each version identifier despite they are equal for many version identifiers?

The usual workaround is to define a common version, e.g.

version(X86)
    version = X86_ANY
version(X86_64)
    version = X86_ANY

version(X86_ANY)
{
// your code here
}

Reply via email to