Web lists-archives.com

[Mingw-users] redefinition of 'struct timespec'




Hi,

  I know that someone has asked the same question before.In my opinion,just deleting the definition of this structure in the header file

"C:\MinGW\include\pthread.h" could be valid for resolving this problem.I wonder if it is the best way to avoid this error at present.

  This structure is showed below:

struct timespec
{
 time_t tv_sec;
long tv_nsec;
};




  All the best,
  Wei.










------------------------------------------------------------------------------
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe