summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CommonAPI/Runtime.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CommonAPI/Runtime.cpp b/src/CommonAPI/Runtime.cpp
index daf6a66..9bae2e2 100644
--- a/src/CommonAPI/Runtime.cpp
+++ b/src/CommonAPI/Runtime.cpp
@@ -55,7 +55,9 @@ Runtime::setProperty(const std::string &_name, const std::string &_value) {
}
std::shared_ptr<Runtime> Runtime::get() {
+#ifndef _WIN32
std::lock_guard<std::mutex> itsLock(getMutex__);
+#endif
if(!theRuntimePtr__) {
theRuntimePtr__ = new std::shared_ptr<Runtime>();
}