vcpkg/ports/lua/vs2015-impl-c99.patch
TitanSnow a462daf251 [lua] Upgrade to 5.3.5 and add support for Linux and macOS (#6515)
* upgrade lua to 5.3.5

* support POSIX systems

* bump version in CONTROL file

* -lm

* fix copyright check

* don't use c89 on windows

vs2015 already supports c99

* correct vcpkg_extract_source_archive_ex usage and platform detection

* fix FreeBSD
2019-05-18 14:33:05 -07:00

12 lines
266 B
Diff

--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -54,7 +54,7 @@
#if defined(LUA_USE_WINDOWS)
#define LUA_DL_DLL /* enable support for DLL */
-#define LUA_USE_C89 /* broadly, Windows is C89 */
+//#define LUA_USE_C89 /* broadly, Windows is C89 */
#endif