Andrew,

> Another way:
>
> ./configure --disable-reentrant

There is a second problem with mingw on 64 bit windows, so this still
won't work: The tv_sec field in struct timeval is 32 bit while time_t
is 64 bit. Looking at msdn this seems like a microsoft header issue.

The attached patch tries to correct both issues, by adding a configure
check that the tv_sec field size is the same as the time_t size and by
defining __WOE__ for mingw to get the *_s thread safe functions
instead of the *_r ones. It has been tested to work on 64 bit mingw
with configure run under msys2 (thanks Rob) and on linux where it
doesn't change anything.

Best Regards,

Chris Matrakidis

Attachment: mingw.patch
Description: Binary data

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to