Skip to content

Commit

Permalink
Don't include pthread.h on Windows. Will need some replacement in time.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgal committed Jan 21, 2021
1 parent 19ddc7c commit 738af4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler-rt/lib/scudo/standalone/tsd.h
Expand Up @@ -14,7 +14,9 @@
#include "mutex.h"

#include <limits.h> // for PTHREAD_DESTRUCTOR_ITERATIONS
#ifndef _WIN64
#include <pthread.h>
#endif

// With some build setups, this might still not be defined.
#ifndef PTHREAD_DESTRUCTOR_ITERATIONS
Expand Down

0 comments on commit 738af4e

Please sign in to comment.