summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/switchstack_gcc_32_win.s8
-rw-r--r--src/src.pro3
2 files changed, 5 insertions, 6 deletions
diff --git a/src/backend/switchstack_gcc_32_win.s b/src/backend/switchstack_gcc_32_win.s
index 156e1ca..b2339fa 100644
--- a/src/backend/switchstack_gcc_32_win.s
+++ b/src/backend/switchstack_gcc_32_win.s
@@ -27,11 +27,11 @@
##
##########################################################################
-.global _switchStackInternal
-.section .text
-.def _switchStackInternal ; .scl 2 ; .type 32 ; .endef
+.global __switchStackInternal
+.section .text
+.def __switchStackInternal ; .scl 2 ; .type 32 ; .endef
-_switchStackInternal:
+__switchStackInternal:
// save callee-saved registers
push %ebp
movl %esp, %ebp
diff --git a/src/src.pro b/src/src.pro
index e086c79..efb0692 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -3,7 +3,6 @@ CONFIG += dll
DEFINES += COROUTINE_LIBRARY
unix: CONFIG += hide_symbols
-DESTDIR = ../lib
TARGET = coroutine
include(adjusttarget.pri)
@@ -23,7 +22,7 @@ contains(QMAKE_CXX,g++) {
win32 {
# will fail for 64 bit win!
SOURCES += \
- backend/switchstack_gcc_32_win.cpp \
+ backend/switchstack_gcc_32_win.s \
backend/initializestack_32.cpp
}