On Feb 20 19:15, 109224573 via Cygwin wrote:
> this code works on Linux, but not msys2:
>
> #include
> #include
> int main() {
> struct timezone tz;
> puts("a");
> gettimeofday(NULL, &tz);
> puts("b");
> }
>
>
> I guess the reason would be
> winsup/cygwin/times.cc
Thanks for the
this code works on Linux, but not msys2:
#include
#include
int main() {
struct timezone tz;
puts("a");
gettimeofday(NULL, &tz);
puts("b");
}
I guess the reason would be
winsup/cygwin/times.cc
extern "C" int
gettimeofday (struct timeval *__restrict tv, void *__restrict tzvp)
{
2 matches
Mail list logo