aboutsummaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
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*);