Skip to content

Commit

Permalink
Fix building 32bit tests on macOS (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderLanin committed Dec 9, 2020
1 parent 86340c9 commit 52d4ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/third_party/doctest.h
Expand Up @@ -368,7 +368,7 @@ DOCTEST_MSVC_SUPPRESS_WARNING(26812) // Prefer 'enum class' over 'enum'
#define DOCTEST_BREAK_INTO_DEBUGGER() raise(SIGTRAP)
#endif
#elif defined(DOCTEST_PLATFORM_MAC)
#if defined(__x86_64) || defined(__x86_64__) || defined(__amd64__)
#if defined(__x86_64) || defined(__x86_64__) || defined(__amd64__) || defined(__i386)
#define DOCTEST_BREAK_INTO_DEBUGGER() __asm__("int $3\n" : :)
#else
#define DOCTEST_BREAK_INTO_DEBUGGER() __asm__("brk #0");
Expand Down

0 comments on commit 52d4ada

Please sign in to comment.