summaryrefslogtreecommitdiff
path: root/include/llvm/System/Mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/System/Mutex.h')
-rw-r--r--include/llvm/System/Mutex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/System/Mutex.h b/include/llvm/System/Mutex.h
index 5254703cbf..94dd811378 100644
--- a/include/llvm/System/Mutex.h
+++ b/include/llvm/System/Mutex.h
@@ -66,7 +66,9 @@ namespace llvm
/// @name Platform Dependent Data
/// @{
private:
+#ifdef ENABLE_THREADS
void* data_; ///< We don't know what the data will be
+#endif
/// @}
/// @name Do Not Implement