blob: 2d5d964e99220727328fdcdd78a3b6346f1189b1 [file] [log] [blame]
// MSVC header files have compilation issues when compiling with exceptions disabled. Notably,
// this function is compiled out when _HAS_EXCEPTIONS=0, but this function is called from another
// place even when _HAS_EXCEPTIONS=0. So we define a dummy implementation as a workaround and
// force include this header file.
static void *__uncaught_exception() { return nullptr; }