diff --git a/vulkanDeviceInfo.cpp b/vulkanDeviceInfo.cpp index 913840c..ba1ae0a 100644 --- a/vulkanDeviceInfo.cpp +++ b/vulkanDeviceInfo.cpp @@ -783,7 +783,7 @@ void VulkanDeviceInfo::readPlatformDetails() void VulkanDeviceInfo::readProfiles() { -#if not defined(DISABLE_PROFILES) +#if !defined(DISABLE_PROFILES) qInfo() << "Reading profiles"; std::vector availableProfiles{}; @@ -804,6 +804,8 @@ void VulkanDeviceInfo::readProfiles() profileInfo.supported = supported; profiles.push_back(profileInfo); } +#else + qInfo() << "Profiles disabled at build time"; #endif } diff --git a/vulkanDeviceInfo.h b/vulkanDeviceInfo.h index ce769f2..2b63a7f 100644 --- a/vulkanDeviceInfo.h +++ b/vulkanDeviceInfo.h @@ -56,7 +56,7 @@ #endif #include "vulkanandroid.h" -#if not defined(DISABLE_PROFILES) +#if !defined(DISABLE_PROFILES) #include "vulkan_profiles.hpp" #endif