std.system reports win32 when running OS X

Andrea Fontana via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 2 00:42:44 PST 2017


On Wednesday, 1 February 2017 at 21:43:09 UTC, Ali Çehreli wrote:
> That's a local variable that you've defined. Since OS.init 
> happens to be OS.win32, that's what you get.

:)

Maybe it should be "unknown" or "undefined" :)


More information about the Digitalmars-d-learn mailing list