mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
begin_code: Solaris Studio has __has_attribute
defined by isn't usable here.
Fixes #10095.
(cherry picked from commit d96f1d5360
)
This commit is contained in:
parent
d7ee9ce455
commit
ecfa363889
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@
|
|||
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202000L)
|
||||
#define SDL_FALLTHROUGH [[fallthrough]]
|
||||
#else
|
||||
#ifdef __has_attribute
|
||||
#if defined(__has_attribute) && !defined(__SUNPRO_C) && !defined(__SUNPRO_CC)
|
||||
#define SDL_HAS_FALLTHROUGH __has_attribute(__fallthrough__)
|
||||
#else
|
||||
#define SDL_HAS_FALLTHROUGH 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue