<div dir="ltr">Hi,<div><br></div><div style>Thanks! An updated patch is attached.</div><div style><br></div><div style>Manish</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 8, 2013 at 12:46 AM, Óscar Fuentes <span dir="ltr"><<a href="mailto:ofv@wanadoo.es" target="_blank">ofv@wanadoo.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Manish Verma <<a href="mailto:manish.avtaar@gmail.com">manish.avtaar@gmail.com</a>> writes:<br>
<br>
> I am attaching a patch which fixes the above mentioned failures. Could you<br>
> please review the patch?<br>
<br>
</div>[snip]<br>
<br>
> index 79eb098..6419653 100644<br>
> --- a/unittests/Support/ManagedStatic.cpp<br>
> +++ b/unittests/Support/ManagedStatic.cpp<br>
> @@ -9,7 +9,7 @@<br>
>  #include "llvm/Support/ManagedStatic.h"<br>
>  #include "llvm/Config/config.h"<br>
>  #include "llvm/Support/Threading.h"<br>
> -#ifdef HAVE_PTHREAD_H<br>
> +#ifdef LLVM_ENABLE_THREADS !=0 && defined(HAVE_PTHREAD_H)<br>
<br>
Use #if instead of #ifdef<br>
<br>
>  #include <pthread.h><br>
>  #endif<br>
><br>
> @@ -19,7 +19,7 @@ using namespace llvm;<br>
><br>
>  namespace {<br>
><br>
> -#ifdef HAVE_PTHREAD_H<br>
> +#ifdef LLVM_ENABLE_PTHREADS!=0 && defined(HAVE_PTHREAD_H)<br>
<br>
Same here.<br>
<br>
[snip]<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div>