summaryrefslogtreecommitdiff
path: root/libs/libmosquitto/src/dummypthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libmosquitto/src/dummypthread.h')
-rw-r--r--libs/libmosquitto/src/dummypthread.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/libmosquitto/src/dummypthread.h b/libs/libmosquitto/src/dummypthread.h
new file mode 100644
index 0000000000..4207f3d68c
--- /dev/null
+++ b/libs/libmosquitto/src/dummypthread.h
@@ -0,0 +1,13 @@
+#ifndef DUMMYPTHREAD_H
+#define DUMMYPTHREAD_H
+
+#define pthread_create(A, B, C, D)
+#define pthread_join(A, B)
+#define pthread_cancel(A)
+
+#define pthread_mutex_init(A, B)
+#define pthread_mutex_destroy(A)
+#define pthread_mutex_lock(A)
+#define pthread_mutex_unlock(A)
+
+#endif