diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index a42ab77..9cbfe36 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -8652,7 +8652,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h # endif #endif -#if 201711 <= __cpp_impl_three_way_comparison +#if ( 201711 <= __cpp_impl_three_way_comparison ) && __has_include( ) # define VULKAN_HPP_HAS_SPACESHIP_OPERATOR #endif #if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) diff --git a/vulkan/vulkan.hpp b/vulkan/vulkan.hpp index 8be6c57..5d55fda 100644 --- a/vulkan/vulkan.hpp +++ b/vulkan/vulkan.hpp @@ -81,7 +81,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h # endif #endif -#if 201711 <= __cpp_impl_three_way_comparison +#if ( 201711 <= __cpp_impl_three_way_comparison ) && __has_include( ) # define VULKAN_HPP_HAS_SPACESHIP_OPERATOR #endif #if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )