FreeBSD compile errors - add comments

This commit is contained in:
Hobby-Student 2014-05-01 15:24:11 +02:00
parent b0ab566d61
commit 18d70c6cda
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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)