From: Michael S. <ms...@ms...> - 2020-03-23 15:20:21
|
Solomon, > On Mar 23, 2020, at 10:58 AM, Solomon Peachy <pi...@sh...> wrote: > > On Mon, Mar 23, 2020 at 08:35:31AM -0400, Robert Krawitz wrote: >> It looks like _XOPEN_SOURCE is the more generic way to do it. Perhaps >> it should be conditionalized on Windows? > > I added stuff to autoconf to test for setenv(), and the code now only uses > putenv() if the former is unavailable. > > BTW, I'm now at the point where libgutenprint compiles cleanly under > mingw. libgutenprintui is up next. > > (I'm not sure how far I want to take this Windows diversion. I'd like > to get the CUPS filter and PPD generator to run, but that relies on > libcups which doesn't have a convenient mingw port yet..) Fortunately, libcups builds natively on Windows, although I exclusively dwvelop any Windows stuff (when I have to...) in Visual Studio so I'm not sure where the CUPS configure script sits WRT MingW builds right now. The code itself will build cleanly. ________________________ Michael Sweet |