diff options
| author | Victor Tran <vicr12345@gmail.com> | 2018-12-18 22:24:23 +1100 |
|---|---|---|
| committer | Victor Tran <vicr12345@gmail.com> | 2018-12-18 22:24:23 +1100 |
| commit | 24607f8f8bd9f1162f4ae22e306e3dcb2706c771 (patch) | |
| tree | f4e2e04f15ddf822fc604e4ad60c284032a51968 /installer/main.cpp | |
| parent | e24ba952ce2af873b0a502a84cc657ccfa6fa778 (diff) | |
| download | theInstaller-24607f8f8bd9f1162f4ae22e306e3dcb2706c771.tar.gz theInstaller-24607f8f8bd9f1162f4ae22e306e3dcb2706c771.tar.bz2 theInstaller-24607f8f8bd9f1162f4ae22e306e3dcb2706c771.zip | |
Fix build on Windows
Diffstat (limited to 'installer/main.cpp')
| -rw-r--r-- | installer/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 <QMessageBox> #include <QDesktopWidget> +FILE _iob[] = {*stdin, *stdout, *stderr}; + +extern "C" FILE * __cdecl __iob_func(void) +{ + return _iob; +} + int main(int argc, char *argv[]) { QApplication a(argc, argv); |
