Merge pull request #690 from asuessenbach/compare
Additionally guard spaceship-operator by check for existence of std-header <compare>
This commit is contained in:
commit
f379c97ed2
@ -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…
x
Reference in New Issue
Block a user