Fixes simulator HAL builds (#391)

This commit is contained in:
Thad House
2016-12-06 19:56:31 -08:00
committed by Peter Johnson
parent c30057e923
commit 77f664a6b1
4 changed files with 5 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
// Allows usage with std::lock_guard without including <mutex> separately
#include <mutex>
#ifdef FRC_SIMULATOR
#if defined(FRC_SIMULATOR) || defined(_WIN32)
// We do not want to use pthreads if in the simulator; however, in the
// simulator, we do not care about priority inversion.
typedef std::mutex priority_mutex;