Additionally guard spaceship-operator by check for existence of std-header <compare>

This commit is contained in:
asuessenbach 2020-07-28 09:15:31 +02:00
parent 942a72d754
commit 958f9d476c
2 changed files with 2 additions and 2 deletions

View File

@ -8652,7 +8652,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# endif # endif
#endif #endif
#if 201711 <= __cpp_impl_three_way_comparison #if ( 201711 <= __cpp_impl_three_way_comparison ) && __has_include( <compare> )
# define VULKAN_HPP_HAS_SPACESHIP_OPERATOR # define VULKAN_HPP_HAS_SPACESHIP_OPERATOR
#endif #endif
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR) #if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)

View File

@ -81,7 +81,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# endif # endif
#endif #endif
#if 201711 <= __cpp_impl_three_way_comparison #if ( 201711 <= __cpp_impl_three_way_comparison ) && __has_include( <compare> )
# define VULKAN_HPP_HAS_SPACESHIP_OPERATOR # define VULKAN_HPP_HAS_SPACESHIP_OPERATOR
#endif #endif
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) #if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )