Hi 'cutters,

David Coe wrote:
> Hi list!
> 
> Every so often I compile up dvbcut under Windows MinGW rather than rely 
> on Ralph Glastetter's builds. Recently (somewhere after r154 I think) my 
> compilation has failed with a missing "C:/MingW/include/stdlib.h".
> 
> This has been hard-wired into dvbcut's version in /import/stdlib.h and 
> will only suit the writer's own MinGW installation. Might it be better 
> to have this as "/mingw/include/stdlib.h"? This is, at least, is the 
> canonical location for the mingw compiler suite.

actually, there's a better fix: use gcc's #include_next feature. That
will load MinGW's version of the file no matter where it is installed.
The gcc dependency shouldn't be a problem because we're not using any
other compiler on Windows anyway.

Welcome to r162,
-- 
Michael "Tired" Riepe <mich...@mr511.de>
X-Tired: Each morning I get up I die a little

------------------------------------------------------------------------------
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to