Obviously I could do a:
version(Windows) { export extern __gshared ... } else { extern __gshared ... }But what's the minimal way of toggling the presence of "export" in a declaration? Using mixins feels kind of gross for this, but if that's the only option ...
Almost makes me long for the C preprocessor :P