[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Building 4.62 on mingw64
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Building 4.62 on mingw64 |
Date: |
Wed, 28 Jun 2017 19:32:12 +0300 |
On Wed, 2017-06-28 at 19:29 +0300, Andrew Makhorin wrote:
> > Just curios if anyone has had success building 4.62 on mingw64 (via
> > MSYS2)? I’m running into issues with the *_r thread safe time
> > functions in the stdc.c file.
> >
>
> What is wrong with *_r ?
>
> If these functions are missing in the standard C library, you may change
> the line 30 in file glpk/src/env/stdc.c
>
> #if !defined(TLS)
>
> to
>
> #if 1
>
> in which case a portable non-reentrant ANSI C version will be used.
Another way:
./configure --disable-reentrant
>
>
> Andrew Makhorin