Merge pull request #9041 from shuffle2/no-pch

windows: fix build if pch were to be disabled
This commit is contained in:
LC 2020-08-22 19:42:44 -04:00 committed by GitHub
commit a9c8f5424b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,7 @@
#if defined(__APPLE__)
#include "Common/GL/GLInterface/AGL.h"
#endif
#if defined(WIN32)
#if defined(_WIN32)
#include "Common/GL/GLInterface/WGL.h"
#endif
#if HAVE_X11

View File

@ -26,7 +26,7 @@
#include "QtUtils/SignalDaemon.h"
#endif
#ifndef WIN32
#ifndef _WIN32
#include <qpa/qplatformnativeinterface.h>
#endif

View File

@ -7,6 +7,7 @@
#include <QMainWindow>
#include <QStringList>
#include <array>
#include <memory>
#include <optional>
#include <string>

View File

@ -6,7 +6,7 @@
#define VK_NO_PROTOTYPES
#if defined(WIN32)
#if defined(_WIN32)
#define VK_USE_PLATFORM_WIN32_KHR
#endif