File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ First four arguments:
54
54
anyhow.
55
55
*/
56
56
57
- #if defined(__APPLE__) || defined(_WIN32)
57
+ #if defined(__APPLE__)
58
58
#define SWAP_REGISTERS _swap_registers
59
59
#else
60
60
#define SWAP_REGISTERS swap_registers
Original file line number Diff line number Diff line change 18
18
19
19
.text
20
20
21
- #if defined(__APPLE__) || defined(_WIN32)
21
+ #if defined(__APPLE__)
22
22
.globl ___morestack
23
23
.private_extern MORESTACK
24
24
___morestack:
25
+ #elif defined(_WIN32)
26
+ .globl __morestack
27
+ __morestack:
25
28
#else
26
29
.globl __morestack
27
30
.hidden __morestack
Original file line number Diff line number Diff line change 11
11
12
12
.text
13
13
14
- #if defined(__APPLE__) || defined(_WIN32)
14
+ #if defined(__APPLE__)
15
15
#define UPCALL_NEW_STACK _upcall_new_stack
16
16
#define UPCALL_DEL_STACK _upcall_del_stack
17
17
#define MORESTACK ___morestack
You can’t perform that action at this time.
0 commit comments