[Ecls-list] MinGW: pthread types vs. ECL headers

Samium Gromoff _deepfire at feelingofgreen.ru
Mon Apr 5 13:56:48 UTC 2010


On Mon, 05 Apr 2010 02:21:06 +0400, Samium Gromoff <_deepfire at feelingofgreen.ru> wrote:
> On Sun, 4 Apr 2010 03:19:27 +0200, Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:
> > If there was threads in *features* I see two potential sources of the
> > problem
> > 
> > 1) The flag ECL_THREADS was not properly recorded in ecl/config.h
> > 2) Something in the application that embeds ECL prevents that flag from
> > being defined.
> > 
> > From this side of the line it is difficult to tell.
> 
> I'll see and follow up, as soon as I get to the machine exhibiting the
> issue..

ecl/config.h contains:

#define ECL_THREADS 1

...but ECL checks for the 'mingw32' preprocessor option, whereas
'__MINGW32__' is what it appears we are to check for, instead.

I'm currently testing a patch which does s/mingw32/__MINGW32__/.


-- 
regards,
  Samium Gromoff
--
"Actually I made up the term 'object-oriented', and I can tell you I
did not have C++ in mind." - Alan Kay (OOPSLA 1997 Keynote)




More information about the ecl-devel mailing list