phobos/std/compiler.d
2007-09-10 04:05:01 +00:00

36 lines
700 B
D

/* Written by Walter Bright
* www.digitalmars.com
* Placed into Public Domain
*/
// Identify the compiler used and its various features.
module std.compiler;
const
{
// Vendor specific string naming the compiler
char[] name = "Digital Mars D";
// Master list of D compiler vendors
enum Vendor
{
DigitalMars = 1
}
// Which vendor we are
Vendor vendor = Vendor.DigitalMars;
// The vendor specific version number, as in
// version_major.version_minor
uint version_major = 0;
uint version_minor = 0;
// The version of the D Programming Language Specification
// Supported by the compiler
uint D_major = 0;
uint D_minor = 0;
}