qt: Fix windows clang & vcpkg build

This commit is contained in:
ts-korhonen
2021-12-19 23:49:47 +02:00
parent 61563bea57
commit 3b16136142
5 changed files with 14 additions and 3 deletions

View File

@@ -33,10 +33,13 @@ Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin)
#define VC(x) const_cast<wchar_t*>(x)
extern QElapsedTimer elapsed_timer;
extern int nvr_dosave;
extern MainWindow* main_window;
extern "C" {
#define new not_new
#include <86box/timer.h>
#include <86box/nvr.h>
#undef new
extern int qt_nvr_save(void);
}