Skip to content

Commit

Permalink
ctest: fix asan on msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Oct 11, 2024
1 parent f5bd0d1 commit 7b43704
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion misc/tests/ctest.h
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ static void sighandler(int signum)
#endif

int ctest_main(int argc, const char *argv[]);
#ifdef __GNUC__
#ifdef _MSC_VER
__declspec(no_sanitize_address)
#elif defined __GNUC__
__attribute__((no_sanitize_address))
#endif
int ctest_main(int argc, const char *argv[])
Expand Down

0 comments on commit 7b43704

Please sign in to comment.