Skip to content

Commit c2e79bf

Browse files
committed
disable C++ handler check on windows
1 parent 3a436a1 commit c2e79bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test-api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ int main(void) {
7474
mi_option_disable(mi_option_verbose);
7575

7676
#if 1
77-
#if defined(__cplusplus) && (!defined(_MSC_VER) || defined(_WIN64))
77+
#if defined(__cplusplus) && !defined(_MSC_VER)
7878
CHECK_BODY("c++ new-handler") {
7979
std::set_new_handler([]{ throw std::bad_alloc(); });
8080
void* p = mi_new_nothrow(SIZE_MAX/2);

0 commit comments

Comments
 (0)