|
@@ -137,6 +137,19 @@ char *strerror(int errnum);
|
|
|
}
|
|
|
#define UA_LOG_SOCKET_ERRNO_GAI_WRAP UA_LOG_SOCKET_ERRNO_WRAP
|
|
|
|
|
|
+#if UA_MULTITHREADING >= 100
|
|
|
+#error Multithreading unsupported
|
|
|
+#else
|
|
|
+#define UA_LOCK_TYPE_NAME
|
|
|
+#define UA_LOCK_TYPE(mutexName)
|
|
|
+#define UA_LOCK_TYPE_POINTER(mutexName)
|
|
|
+#define UA_LOCK_INIT(mutexName)
|
|
|
+#define UA_LOCK_RELEASE(mutexName)
|
|
|
+#define UA_LOCK(mutexName)
|
|
|
+#define UA_UNLOCK(mutexName)
|
|
|
+#define UA_LOCK_SWITCH(currentMutex, newMutex)
|
|
|
+#endif
|
|
|
+
|
|
|
#include <open62541/architecture_functions.h>
|
|
|
|
|
|
/* Fix redefinition of SLIST_ENTRY on mingw winnt.h */
|