Skip to content

Commit 74d95cb

Browse files
committed
[js] Add UNAME constants
1 parent 85ec713 commit 74d95cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vm/js/const_map.nqp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,9 @@ my %const_map := nqp::hash(
8787
'BINARY_SIZE_16_BIT', 4,
8888
'BINARY_SIZE_32_BIT', 8,
8989
'BINARY_SIZE_64_BIT', 12,
90+
91+
'UNAME_SYSNAME', 0,
92+
'UNAME_RELEASE', 1,
93+
'UNAME_VERSION', 2,
94+
'UNAME_MACHINE', 3
9095
);

0 commit comments

Comments
 (0)