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 ce04168
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc/tests/ctest.h
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ static void sighandler(int signum)
int ctest_main(int argc, const char *argv[]);
#ifdef __GNUC__
__attribute__((no_sanitize_address))
#elif defined _MSC_VER
__declspec(no_sanitize_address)
#endif
int ctest_main(int argc, const char *argv[])
{
Expand Down

0 comments on commit ce04168

Please sign in to comment.