aboutsummaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-10-14 21:46:38 -0500
committeramelia squires <[email protected]>2025-10-14 21:46:38 -0500
commitaf09c42e8067dfc832f7e1dce92860e1022c75fa (patch)
treea444ec4586f9b1c54ea6680ffee2dc940644427d /src/thread.h
parenta67dc94484cf9869793fc1861914b800a6559a74 (diff)
tons of thread changed, more testing needed
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index 0b3a27d..4fa0e04 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -1,6 +1,10 @@
#include "lua.h"
#include "config.h"
+#ifndef __ANDROID__
+#define SUPPORTS_PTHREAD_CANCEL
+#endif
+
int l_async(lua_State*);
int l_tlock(lua_State*);
int l_tunlock(lua_State*);