From 24607f8f8bd9f1162f4ae22e306e3dcb2706c771 Mon Sep 17 00:00:00 2001 From: Victor Tran Date: Tue, 18 Dec 2018 22:24:23 +1100 Subject: Fix build on Windows --- installer/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'installer/main.cpp') diff --git a/installer/main.cpp b/installer/main.cpp index a36d8a5..8507180 100644 --- a/installer/main.cpp +++ b/installer/main.cpp @@ -10,6 +10,13 @@ #include #include +FILE _iob[] = {*stdin, *stdout, *stderr}; + +extern "C" FILE * __cdecl __iob_func(void) +{ + return _iob; +} + int main(int argc, char *argv[]) { QApplication a(argc, argv); -- cgit v1.2.3