Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/TiledArray/util/bug.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <vector>

#include <pthread.h>
#if __APPLE__
#if defined(__APPLE__) && defined(__x86_64__)
#include <mach/mach.h>
#include <stdexcept>
#endif
Expand Down Expand Up @@ -219,7 +219,7 @@ class MemoryWatchpoint_x86_64 {
friend class MemoryWatchPool;

void init(bool create) {
#if __APPLE__
#if defined(__APPLE__) && defined(__x86_64__)
x86_debug_state dr;
mach_msg_type_number_t dr_count = x86_DEBUG_STATE_COUNT;

Expand Down Expand Up @@ -261,7 +261,7 @@ class MemoryWatchpoint_x86_64 {
throw std::runtime_error(
"MemoryWatchpoint_x86_64::MemoryWatchpoint_x86_64(): "
"thread_set_state failed");
#endif // defined(__APPLE__)
#endif // defined(__APPLE__) && defined(__x86_64__)
}
};

Expand Down