Thanks, Evan. That did the trick! Although it's a pretty trivial fix, as a matter of principle I suppose I should ask:
Is it OK if we incorporate this into the chicken-iup distribution? On Fri, Apr 24, 2015 at 4:18 PM, Evan Hanson <[email protected]> wrote: > On 2015-04-24 15:48, Matt Gushee wrote: > > Anyone know why this would happen? > > Yes, I've also run into this issue recently. `getc_unlocked` is used > when the compiler defines `_POSIX_C_SOURCE >= 199506L`. This appears to > be one standard too early, but even after adjusting the relevant #ifdef > to check for the POSIX.1-2001 standard (in which this feature was > specified) the build still fails. > > So, I guess MinGW is claiming POSIX.1-2001 but not providing > `getc_unlocked`, so we'll probably have to add a workaround. > > In the meantime, try the attached patch. > > Cheers, > > Evan > > _______________________________________________ > Chicken-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/chicken-users > >
_______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
