osip_condv.h (libosip2-5.0.0) | : | osip_condv.h (libosip2-5.1.0) | ||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
#if defined(__PSOS__) | #if defined(__PSOS__) | |||
/* TODO */ | /* TODO */ | |||
#else | #else | |||
/* condv implementation */ | /* condv implementation */ | |||
#if defined(WIN32) || defined(_WIN32_WCE) | #if defined(WIN32) || defined(_WIN32_WCE) | |||
/* Prevent struct redefinition if Pthreads for Win32 is used */ | /* Prevent struct redefinition if Pthreads for Win32 is used */ | |||
#if (_MSC_VER < 1900) | ||||
#ifndef HAVE_STRUCT_TIMESPEC | #ifndef HAVE_STRUCT_TIMESPEC | |||
#define HAVE_STRUCT_TIMESPEC 1 | #define HAVE_STRUCT_TIMESPEC 1 | |||
/** | /** | |||
* timespec structure | * timespec structure | |||
* @struct timespec | * @struct timespec | |||
*/ | */ | |||
struct timespec { | struct timespec { | |||
long tv_sec; | long tv_sec; | |||
long tv_nsec; | long tv_nsec; | |||
}; | }; | |||
#endif | #endif | |||
#endif | #endif | |||
#endif | ||||
struct osip_cond; | struct osip_cond; | |||
/** | /** | |||
* Allocate and Initialise a condition variable | * Allocate and Initialise a condition variable | |||
*/ | */ | |||
struct osip_cond *osip_cond_init (void); | struct osip_cond *osip_cond_init (void); | |||
/** | /** | |||
* Destroy a condition variable | * Destroy a condition variable | |||
* @param cond The condition variable to destroy. | * @param cond The condition variable to destroy. | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |