Skip to content

Commit 19f1208

Browse files
committed
Runtime: add primitives to support the Unix library under Windows (fixes #332)
1 parent d140dcc commit 19f1208

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

runtime/unix.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,12 @@ function unix_mktime(tm){
4242
var tm2 = unix_localtime(t);
4343
return [0,t,tm2];
4444
}
45+
46+
//Provides: win_startup const
47+
function win_startup() {}
48+
49+
//Provides: win_cleanup const
50+
function win_cleanup() {}
51+
52+
//Provides: win_handle_fd const
53+
function win_handle_fd(x) {return x;}

0 commit comments

Comments
 (0)