[llvm-commits] [Patch] Fix build when disable thread support

Howard Su howard0su at gmail.com
Wed Jun 17 20:16:09 PDT 2009


Index: RWMutex.cpp
===================================================================
--- RWMutex.cpp (revision 73673)
+++ RWMutex.cpp (working copy)
@@ -23,7 +23,7 @@
 // Define all methods as no-ops if threading is explicitly disabled
 namespace llvm {
 using namespace sys;
-RWMutex::RWMutex( bool recursive) { }
+RWMutex::RWMutex() { }
 RWMutex::~RWMutex() { }
 bool RWMutex::reader_acquire() { return true; }
 bool RWMutex::reader_release() { return true; }


-- 
-Howard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090618/e3989897/attachment.html>


More information about the llvm-commits mailing list