FreeBSD compile errors - add comments
authorHobby-Student <chris.onkel@gmx.de>
Thu, 1 May 2014 13:24:11 +0000 (15:24 +0200)
committerHobby-Student <chris.onkel@gmx.de>
Thu, 1 May 2014 13:24:11 +0000 (15:24 +0200)
libfreerdp/locale/timezone.c
winpr/libwinpr/synch/wait.c

index 74b5f68..e603970 100644 (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;
index 0de1714..34ca3e1 100644 (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)