Skip to content

Commit

Permalink
Define M as something on Windows, may well prove to be wrong.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgal committed Jan 21, 2021
1 parent 31f2121 commit 19ddc7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler-rt/lib/scudo/standalone/mutex.h
Expand Up @@ -51,6 +51,8 @@ class HybridMutex {
atomic_u32 M;
#elif SCUDO_FUCHSIA
sync_mutex_t M;
#elif SCUDO_WINDOWS
atomic_u32 M;
#endif

void lockSlow();
Expand Down

0 comments on commit 19ddc7c

Please sign in to comment.