summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.h
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-01-08 22:15:37 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-01-08 22:15:37 (GMT)
commit9f4d810400550d1b98ab944cd96f937720eb6b0d (patch)
treea30226ae642e54e217c9b89523d75f1346d5f7cb /src/uscxml/Interpreter.h
parentf9eb54fc9c17116954846133b33f7a241e662cbc (diff)
downloaduscxml-9f4d810400550d1b98ab944cd96f937720eb6b0d.zip
uscxml-9f4d810400550d1b98ab944cd96f937720eb6b0d.tar.gz
uscxml-9f4d810400550d1b98ab944cd96f937720eb6b0d.tar.bz2
Fixed compilation for gcc on Linux again
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r--src/uscxml/Interpreter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index 945f6f2..e442585 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -21,6 +21,7 @@
#define RUNTIME_H_SQ1MBKGN
// this has to be the first include or MSVC will run amok
+#include "uscxml/config.h"
#include "uscxml/Common.h"
#include <iostream> // arabica xpath uses cerr without iostream
@@ -49,6 +50,10 @@
#include "uscxml/plugins/Invoker.h"
#include "uscxml/plugins/ExecutableContent.h"
+#ifdef BUILD_PROFILING
+#include "uscxml/concurrency/Timer.h"
+#endif
+
#define ERROR_PLATFORM_THROW(msg) \
Event e; \
e.name = "error.platform"; \
@@ -407,6 +412,10 @@ public:
virtual void handleDOMEvent(Arabica::DOM::Events::Event<std::string>& event);
+#ifdef BUILD_PROFILING
+ Timer timer;
+#endif
+
protected:
static void run(void*); // static method for thread to run