Re: [Jack-Devel] Problem using Jack2 with MinGW and pthreads
On Mon, 2011-02-21 at 19:52 +1000, Tim Mayberry wrote:
> I've been working on porting an existing application to windows using
> the MinGW compiler. The application uses both pthreads via
> (http://sourceware.org/pthreads-win32) and the jack API via jack2
>
> The problem I'm having(I think) is that pthread_t is getting redefined
> via jack/systemdeps.h
>
> The relevant section:
>
> #elif __MINGW32__ /* MINGW */
> #include <stdint.h>
> #include <sys/types.h>
> #ifndef pthread_t
> typedef HANDLE pthread_t;
> #endif
> #else
#ifndef pthread_t seems bogus to me. pthread_t will be a type, not a
preprocessor definition.
Does commenting out the typedef help?
Peter.
1298282624.30744_0.ltw:2,a <1298282604.29712.2.camel at petern dot bnsnet dot co dot uk>