mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Add a fallthrough__ entry for VS.
git-svn-id: https://svn.eduke32.com/eduke32@6373 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ef8bd42b49
commit
366ccd7900
1 changed files with 2 additions and 0 deletions
|
@ -232,6 +232,8 @@
|
|||
# define fallthrough__ [[clang::fallthrough]]
|
||||
#elif __has_cpp_attribute(gnu::fallthrough)
|
||||
# define fallthrough__ [[gnu::fallthrough]]
|
||||
#elif defined _MSC_VER
|
||||
# define fallthrough__ __fallthrough
|
||||
#else
|
||||
# define fallthrough__
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue