From 4a1ea6dd1fe4d59cd6b20fbcd807088c36533dfc Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 11 Apr 2018 16:11:49 -0500 Subject: [PATCH] support vc100 toolchain once more --- src/drivers/win/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/drivers/win/main.cpp b/src/drivers/win/main.cpp index 4395122b..79a452bf 100644 --- a/src/drivers/win/main.cpp +++ b/src/drivers/win/main.cpp @@ -21,7 +21,11 @@ #include "common.h" +//little build hack for vs2015 (due to static libs linked in by lua/luaperks) +//could probably rebuild those libs, but this is easier +#if _MSC_VER >= 1900 extern "C" { FILE __iob_func[3] = { *stdin,*stdout,*stderr }; } +#endif // I like hacks. #define uint8 __UNO492032