Skip to content

Commit 16e9bab

Browse files
committed
Platform: add setjmp module for VisualC
Add the setjmp module which was missing. The roughly equivalent function is `_setjmp`. Unfortunately, it is not marked as `__attribute__((__returns_twice__))`.
1 parent 322a585 commit 16e9bab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/Platform/visualc.modulemap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ module visualc [system] {
2626
export *
2727
}
2828

29+
module setjmp {
30+
header "setjmp.h"
31+
export *
32+
}
33+
2934
module stdint {
3035
header "stdint.h"
3136
export *

0 commit comments

Comments
 (0)