[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] for MinGW Re: [Libvir] Pthreads error in windows compilation



Hi,

 Today I recognized.
It would be better to write #include <pthread.h> in hash.h than hash.c.
And compilation works if configure.in changes in MINGW?
Would you apply this patch?

Anyway virsh.exe works fine, but cannot compile testutils.c.

Thanks
Atsushi SAKAI


"Richard W.M. Jones" <rjones redhat com> wrote:

> Gabriel Kaufmann wrote:
> > In order to fix this problem, I installed the ‘pthreads’ package on my 
> > MinGW.
> > 
> > Then added include pthread.h in src/internal.h
> > Is this the right action?
> 
> Yes, I think so.  This sounds like a regression.
> 
> Rich.
> 
> -- 
> Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
> Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
> England and Wales under Company Registration No. 03798903
> 

Attachment: mingw_pthread_compilation.patch
Description: Binary data

Attachment: mingw_compilation_configurein.patch
Description: Binary data


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]