diff options
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.83 2010/04/08 17:16:46 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.84 2010/04/13 20:48:12 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -48,7 +48,7 @@ | |||
48 | */ | 48 | */ |
49 | #if !defined(LUAI_THROW) | 49 | #if !defined(LUAI_THROW) |
50 | 50 | ||
51 | #if defined(__cplusplus) | 51 | #if defined(__cplusplus) && !defined(LUA_USE_LONGJMP) |
52 | /* C++ exceptions */ | 52 | /* C++ exceptions */ |
53 | #define LUAI_THROW(L,c) throw(c) | 53 | #define LUAI_THROW(L,c) throw(c) |
54 | #define LUAI_TRY(L,c,a) \ | 54 | #define LUAI_TRY(L,c,a) \ |