version and debug statements

Walter Bright newshound at digitalmars.com
Thu May 11 09:46:56 PDT 2006


Daniel Keep wrote:
> Well, I'll continue to hope that at some point it grows boolean
> expressions in version statements like "version(BSD | Linux)", but I can
> live without those :)

version (BSD)
{
	version = FEATURE1;
	version = FEATURE2;
}
version (linux)
{
	version = FEATURE1;
}

...

version (FEATURE1)
	...



More information about the Digitalmars-d mailing list