aboutsummaryrefslogtreecommitdiff
path: root/ports/lua/vs2015-impl-c99.patch
diff options
context:
space:
mode:
authorTitanSnow <sweeto@live.cn>2019-05-19 05:33:05 +0800
committerVictor Romero <romerosanchezv@gmail.com>2019-05-18 14:33:05 -0700
commita462daf2518a8f5ae23bfb3b1b41cd29043a64e2 (patch)
tree7021b50d498b23007b681b72e578dc7de5e46ee5 /ports/lua/vs2015-impl-c99.patch
parent1bb3ca1839d37ca41cf12327059df082edf0ca9f (diff)
downloadvcpkg-a462daf2518a8f5ae23bfb3b1b41cd29043a64e2.tar.gz
vcpkg-a462daf2518a8f5ae23bfb3b1b41cd29043a64e2.zip
[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
Diffstat (limited to 'ports/lua/vs2015-impl-c99.patch')
-rw-r--r--ports/lua/vs2015-impl-c99.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/ports/lua/vs2015-impl-c99.patch b/ports/lua/vs2015-impl-c99.patch
new file mode 100644
index 000000000..e281e83cf
--- /dev/null
+++ b/ports/lua/vs2015-impl-c99.patch
@@ -0,0 +1,11 @@
+--- 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
+
+