Added macro DEFAULT_UNREACHABLE.

This commit is contained in:
Patrik Stridvall 2004-02-27 21:25:12 +00:00 committed by Alexandre Julliard
parent bd6d7392b7
commit 5b6ba6038d
1 changed files with 7 additions and 0 deletions

View File

@ -263,6 +263,13 @@
# define C_ASSERT(e) extern char __C_ASSERT__[(e)?1:-1]
#endif
/* Eliminate Microsoft C/C++ compiler warning 4715 */
#if (_MSC_VER > 1200)
# define DEFAULT_UNREACHABLE default: __assume(0)
#else
# define DEFAULT_UNREACHABLE
#endif
/* Error Masks */
#define APPLICATION_ERROR_MASK 0x20000000
#define ERROR_SEVERITY_SUCCESS 0x00000000