summaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/llimits.h b/llimits.h
index c90680a7..c63b6853 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.64 2005/03/08 20:10:05 roberto Exp roberto $ 2** $Id: llimits.h,v 1.65 2005/03/09 16:28:07 roberto Exp roberto $
3** Limits, basic types, and some other `installation-dependent' definitions 3** Limits, basic types, and some other `installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -93,4 +93,14 @@ typedef lu_int32 Instruction;
93#endif 93#endif
94 94
95 95
96#ifndef lua_lock
97#define lua_lock(L) ((void) 0)
98#define lua_unlock(L) ((void) 0)
99#endif
100
101#ifndef luai_threadyield
102#define luai_threadyield(L) {lua_unlock(L); lua_lock(L);}
103#endif
104
105
96#endif 106#endif