diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-29 16:13:12 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 15:31:04 -0700 |
commit | ef34fd4ba002d3588cb9fc3b7798396e326ea634 (patch) | |
tree | 3b6f6a224e5b70e5fc68a102ba3c4551e5ac9de8 /src | |
parent | ef9e8676075023a3b0cb0b503d29856ae5017fbc (diff) |
add various aborting stubs for libc stuff used in libc++
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index 822f4319..bf969fd7 100644 --- a/src/library.js +++ b/src/library.js @@ -8271,4 +8271,8 @@ function autoAddDeps(object, name) { } } +// Add aborting stubs for various libc stuff needed by libc++ +['pthread_cond_signal', 'pthread_equal', 'wcstol', 'wcstoll', 'wcstoul', 'wcstoull', 'wcstof', 'wcstod', 'wcstold', 'swprintf', 'pthread_join', 'pthread_detach', 'strcoll_l', 'strxfrm_l', 'wcscoll_l', 'toupper_l', 'tolower_l', 'iswspace_l', 'iswprint_l', 'iswcntrl_l', 'iswupper_l', 'iswlower_l', 'iswalpha_l', 'iswdigit_l', 'iswpunct_l', 'iswxdigit_l', 'iswblank_l', 'wcsxfrm_l', 'towupper_l', 'towlower_l'].forEach(function(aborter) { + LibraryManager.library[aborter] = function() { throw 'TODO: ' + aborter }; +}); |