aboutsummaryrefslogtreecommitdiff
path: root/lprefix.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* win32: fix detection for mingw32Hisham Muhammad2024-08-311-1/+1
|
* avoid MSVC build errorHisham Muhammad2024-08-291-3/+9
| | | | | | | | | | ``` Microsoft (R) Incremental Linker Version 14.00.24241.7 Copyright (C) Microsoft Corporation. All rights reserved. io.def : error LNK2001: unresolved external symbol luaopen_compat53_io compat53/io.lib : fatal error LNK1120: 1 unresolved externals Error: Build error: Failed compiling module compat53/io.dll ```
* fix detection of LUA_USE_WINDOWS define (#64)Hisham Muhammad2024-02-241-5/+4
|
* Fix missing closing parenthesis in preprocessor macro (#58)Gran PC2023-11-021-1/+1
| | | | | | | | | | | | | | | | | | | Fixes this: ```In file included from liolib.c:10:0: lprefix.h:201:0: warning: "LUA_USE_POSIX" redefined [enabled by default] # define LUA_USE_POSIX 1 ^ In file included from /usr/include/lua.h:16:0, from c-api/compat-5.3.h:10, from lprefix.h:46, from liolib.c:10: /usr/include/luaconf.h:21:0: note: this is the location of the previous definition #define LUA_USE_POSIX ^ In file included from liolib.c:10:0: lprefix.h:202:9: error: missing ')' in expression # elif (defined(_MSC_VER) ```
* Support getting io.popen results on file:close() on PUC-Rio Lua 5.1 (#53)Hisham Muhammad2023-09-131-0/+102
|
* Update backports to Lua 5.3.4.Philipp Janda2017-08-271-0/+9
|
* Fix compilation for older versions of Lua 5.3.Philipp Janda2017-08-271-0/+5
| | | | Fixes #20.
* Simplify utf8 helper function.Philipp Janda2016-02-051-7/+1
| | | | | There's no need for `compat_utf8_escape()` to be a vararg function. Remove default templates from `package.path`.
* Update backports.Philipp Janda2016-01-221-15/+43
| | | | | The backports of lstrlib.c, ltablib.c, and lutf8lib.c have been updated to Lua version 5.3.2.
* Fix compilation of lstrlib.c for Lua 5.1.Philipp Janda2015-04-291-0/+1
| | | | | | The removal of lualib.h from compat-5.3.h causes an unwanted replacement of luaopen_string to luaopen_string_XXX. Include lualib.h in lprefix.h before the corresponding macro definition to counter that.
* better performance for lua_compare; some code refactoringPhilipp Janda2015-01-241-7/+0
|
* hack around %U format in lutf8lib.cPhilipp Janda2015-01-221-1/+30
|
* use Lua 5.3's source for string packingPhilipp Janda2015-01-211-0/+42
|
* use table library from Lua 5.3 sources if availablePhilipp Janda2015-01-201-0/+1
|
* prepare to use ltablib.c from 5.3 for table libraryPhilipp Janda2015-01-191-0/+17
|
* add utf8 library from Lua 5.3; use struct for string packingPhilipp Janda2015-01-141-0/+56