mirror of https://github.com/FreeRDP/FreeRDP
FreeBSD compile errors - add comments
This commit is contained in:
parent
b0ab566d61
commit
18d70c6cda
|
@ -1664,6 +1664,7 @@ void freerdp_time_zone_detect(TIME_ZONE_INFO* clientTimeZone)
|
|||
|
||||
#ifdef HAVE_TM_GMTOFF
|
||||
#if defined(__FreeBSD__)
|
||||
/*not the best solution, but could not get the right tyepcast*/
|
||||
clientTimeZone->bias = timezone;
|
||||
#else
|
||||
clientTimeZone->bias = timezone / 60;
|
||||
|
|
|
@ -125,6 +125,7 @@ static int pthread_timedjoin_np(pthread_t td, void **res,
|
|||
}
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
/*the only way to get it work is to remove the static*/
|
||||
int pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *timeout)
|
||||
#else
|
||||
static int pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *timeout)
|
||||
|
|
Loading…
Reference in New Issue