Skip to content

Commit

Permalink
[js] Get the osname from nqp::backendconfig() on the js backend too.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Jan 2, 2017
1 parent 4ab5523 commit 7bf6c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO/Spec.pm
Expand Up @@ -21,7 +21,7 @@ my class IO::Spec {
#?if jvm
nqp::p6box_s(nqp::atkey(nqp::jvmgetproperties(), 'os.name'));
#?endif
#?if moar
#?if !jvm
nqp::p6box_s(nqp::atkey(nqp::backendconfig(), 'osname'));
#?endif
IO::Spec::{%module{ lc $token } // 'Unix'};
Expand Down

0 comments on commit 7bf6c6f

Please sign in to comment.