We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf7648 commit 52906f1Copy full SHA for 52906f1
src/include/c.h
@@ -755,6 +755,8 @@ typedef NameData *Name;
755
*/
756
#if defined(HAVE__BUILTIN_UNREACHABLE) && !defined(USE_ASSERT_CHECKING)
757
#define pg_unreachable() __builtin_unreachable()
758
+#elif defined(_MSC_VER) && !defined(USE_ASSERT_CHECKING)
759
+#define pg_unreachable() __assume(0)
760
#else
761
#define pg_unreachable() abort()
762
#endif
0 commit comments