std.system reports win32 when running OS X
Bauss via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Feb 2 01:24:29 PST 2017
On Thursday, 2 February 2017 at 08:42:44 UTC, Andrea Fontana
wrote:
> 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" :)
You can always make a pull request for that and then see if
everybody agrees or if there's a specific reason why it
initializes to Windows.
More information about the Digitalmars-d-learn
mailing list