diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-06-22 16:50:40 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-06-22 16:50:40 +0800 |
| commit | cd2b60b101a398cb9356d746364e70eaed1860f1 (patch) | |
| tree | a1fe71b76faabc4883f16905a94164ce5c23e692 /src/lua/lprefix.h | |
| parent | 88c1052e700f38cf3d8ad82d469da4c487760b7e (diff) | |
| download | yuescript-cd2b60b101a398cb9356d746364e70eaed1860f1.tar.gz yuescript-cd2b60b101a398cb9356d746364e70eaed1860f1.tar.bz2 yuescript-cd2b60b101a398cb9356d746364e70eaed1860f1.zip | |
add support for local variable declared with attribute 'close' and 'const' for Lua 5.4.
Diffstat (limited to '')
| -rw-r--r-- | src/lua/lprefix.h (renamed from src/lua-5.3/lprefix.h) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua-5.3/lprefix.h b/src/lua/lprefix.h index 9a749a3..484f2ad 100644 --- a/src/lua-5.3/lprefix.h +++ b/src/lua/lprefix.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lprefix.h,v 1.2.1.1 2017/04/19 17:20:42 roberto Exp $ | 2 | ** $Id: lprefix.h $ |
| 3 | ** Definitions for Lua code that must come before any other header file | 3 | ** Definitions for Lua code that must come before any other header file |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -33,7 +33,7 @@ | |||
| 33 | /* | 33 | /* |
| 34 | ** Windows stuff | 34 | ** Windows stuff |
| 35 | */ | 35 | */ |
| 36 | #if defined(_WIN32) /* { */ | 36 | #if defined(_WIN32) /* { */ |
| 37 | 37 | ||
| 38 | #if !defined(_CRT_SECURE_NO_WARNINGS) | 38 | #if !defined(_CRT_SECURE_NO_WARNINGS) |
| 39 | #define _CRT_SECURE_NO_WARNINGS /* avoid warnings about ISO C functions */ | 39 | #define _CRT_SECURE_NO_WARNINGS /* avoid warnings about ISO C functions */ |
