Skip to content

Commit

Permalink
Processor definition check for __APPLE__ has a typo on replay (commaa…
Browse files Browse the repository at this point in the history
  • Loading branch information
devtekve authored Jul 8, 2024
1 parent 241fb90 commit 3c74ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/replay/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ void precise_nano_sleep(int64_t nanoseconds, std::atomic<bool> &should_exit) {
req.tv_sec = nanoseconds / 1000000000;
req.tv_nsec = nanoseconds % 1000000000;
while (!should_exit) {
#ifdef __APPLE_
#ifdef __APPLE__
int ret = nanosleep(&req, &rem);
if (ret == 0 || errno != EINTR)
break;
Expand Down

0 comments on commit 3c74ad1

Please sign in to comment.