mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Additionally guard spaceship-operator by check for existence of std-header <compare>
This commit is contained in:
parent
942a72d754
commit
958f9d476c
@ -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)
|
||||||
|
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user