subsurface/core/subsurfacesysinfo.cpp
Berthold Stoeger b56dd13add build: remove extern "C" linkage
No more C source files, no more necessity to use C-linkage.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00

10 lines
219 B
C++

// SPDX-License-Identifier: LGPL-2.1+
#include "subsurfacesysinfo.h"
#include <QSysInfo>
#ifdef Q_OS_WIN
bool isWin7Or8()
{
return (QSysInfo::WindowsVersion & QSysInfo::WV_NT_based) >= QSysInfo::WV_WINDOWS7;
}
#endif