summaryrefslogtreecommitdiffstats
path: root/test/src/test-stress.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-08-25 11:58:58 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-08-25 11:58:58 (GMT)
commit7e8259aabe9d0700b09ce6d801f939bce9ff69c3 (patch)
tree61c982ad33205c7ba04785916a32f31b334ab5de /test/src/test-stress.cpp
parent26183abd9acd44a0382e55cc985795ee7c526aed (diff)
downloaduscxml-7e8259aabe9d0700b09ce6d801f939bce9ff69c3.zip
uscxml-7e8259aabe9d0700b09ce6d801f939bce9ff69c3.tar.gz
uscxml-7e8259aabe9d0700b09ce6d801f939bce9ff69c3.tar.bz2
Some Windows specific bug-fixes
Diffstat (limited to 'test/src/test-stress.cpp')
-rw-r--r--test/src/test-stress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/test-stress.cpp b/test/src/test-stress.cpp
index 50b5f34..07cc733 100644
--- a/test/src/test-stress.cpp
+++ b/test/src/test-stress.cpp
@@ -20,6 +20,9 @@
#include "XGetopt.h"
#endif
+int startedAt;
+int lastTransitionAt;
+
#ifdef HAS_EXECINFO_H
void printBacktrace(void** array, int size) {
char** messages = backtrace_symbols(array, size);
@@ -30,9 +33,6 @@ void printBacktrace(void** array, int size) {
free(messages);
}
-int startedAt;
-int lastTransitionAt;
-
#ifdef HAS_DLFCN_H
// see https://gist.github.com/nkuln/2020860
typedef void (*cxa_throw_type)(void *, void *, void (*) (void *));