Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Flexport timespec redefinition in win32

v1.0 (example)
open
nobody
5
2009-08-31
2009-08-31
Rich Mattes
No

In Flexiport's timeout.h file, the timespec struct is defined, and annotated with a comment that there's no timespec on windows. When using flexiport with Player on windows, the windows version of the pthread.h file is included, resulting in a redefiniton error. It looks like pthread.h creates a define called HAVE_STRUCT_TIMESPEC, maybe flexiport could check for that before defining timespec.

Discussion