aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurfacesysinfo.cpp
blob: 7cad562b8893b9c80d11e4790b504e117d66f522 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: LGPL-2.1+
#include "subsurfacesysinfo.h"
#include <QSysInfo>

#ifdef Q_OS_WIN
extern "C" bool isWin7Or8()
{
	return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7;
}
#endif