Web lists-archives.com

Re: [Mingw-users] mingw error: redefinition of 'struct timespec'

> From: Keith Marshall <keithmarshall@xxxxxxxxxxxxxxxxxxxxx>
> Date: Sun, 11 Oct 2015 19:29:27 +0100
> Reality, however, is rather more encouraging ... autoconf isn't so lame.
> [...]
>   checking for unistd.h... yes
>   checking for struct timespec.tv_sec... yes
> successfully detects that struct timespec is defined, *without* ever
> looking for <pthread.h>:

I know ;-)  See


> so if GNU projects *are* looking to <pthread.h> for the definition
> of struct timespec, it is because individual project maintainers
> have specified it thus ... quite inappropriately, IMO.

Yes, there's that as well.  Also, packages that are not maintained
very actively come with old versions of Autoconf macros.

MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe