Commit 5b6ba603 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Added macro DEFAULT_UNREACHABLE.

parent bd6d7392
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment