Fix remove libkysdk-system error

This commit is contained in:
xibowen 2024-02-02 09:36:30 +08:00
parent 5bc9b741b4
commit 9aebd1e1a6
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
#include "mainwindow.h"
#include "generic.h"
#ifdef KDK_INFOFOUND
#ifdef KDKINFO_FOUND
#include <libkysysinfo.h>
#endif
@ -57,7 +57,7 @@ PolkitListener::~PolkitListener()
bool PolkitListener::isMavis()
{
#ifdef KDK_INFOFOUND
#ifdef KDKINFO_FOUND
char *prjName = kdk_system_get_projectName();
#else
char *prjName;
@ -77,7 +77,7 @@ bool PolkitListener::isMavis()
bool PolkitListener::isSupportTableMode()
{
#ifdef KDK_INFOFOUND
#ifdef KDKINFO_FOUND
unsigned int nFeature = kdk_system_get_productFeatures();
#else
unsigned int nFeature;