rt: Remove leading underscore on Win64

Win64 convention does not use underscore.
This commit is contained in:
klutzy
2013-08-11 17:56:24 +09:00
parent 501eea0842
commit 5118ef6ff0
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ First four arguments:
anyhow.
*/
#if defined(__APPLE__) || defined(_WIN32)
#if defined(__APPLE__)
#define SWAP_REGISTERS _swap_registers
#else
#define SWAP_REGISTERS swap_registers
+4 -1
View File
@@ -18,10 +18,13 @@
.text
#if defined(__APPLE__) || defined(_WIN32)
#if defined(__APPLE__)
.globl ___morestack
.private_extern MORESTACK
___morestack:
#elif defined(_WIN32)
.globl __morestack
__morestack:
#else
.globl __morestack
.hidden __morestack
+1 -1
View File
@@ -11,7 +11,7 @@
.text
#if defined(__APPLE__) || defined(_WIN32)
#if defined(__APPLE__)
#define UPCALL_NEW_STACK _upcall_new_stack
#define UPCALL_DEL_STACK _upcall_del_stack
#define MORESTACK ___morestack