debug (FooLogging) printf("checking foo\n");
version (Windows) { ... windows code ... } else version (linux) { ... linux code ... } else { // unsupported static assert(0); }