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:
hendricks266 2017-07-22 04:00:13 +00:00
parent ef8bd42b49
commit 366ccd7900
1 changed files with 2 additions and 0 deletions

View File

@ -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