12345678910111213141516171819 |
- $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
- --- miredo-1.1.6.orig/libteredo/maintain.c 2009-04-13 11:15:15.000000000 +0200
- +++ miredo-1.1.6/libteredo/maintain.c 2009-05-10 18:21:51.000000000 +0200
- @@ -56,6 +56,7 @@
- #include "maintain.h"
- #include "v4global.h" // is_ipv4_global_unicast()
- #include "debug.h"
- +#define pthread_condattr_setclock( a, c ) (((c) != CLOCK_REALTIME) ? EINVAL : 0)
-
- static inline void gettime (struct timespec *now)
- {
- @@ -63,7 +64,6 @@ static inline void gettime (struct times
- if (clock_gettime (CLOCK_MONOTONIC, now) == 0)
- return;
- #else
- -# define pthread_condattr_setclock( a, c ) (((c) != CLOCK_REALTIME) ? EINVAL : 0)
- # ifndef CLOCK_MONOTONIC
- # define CLOCK_MONOTONIC CLOCK_REALTIME
- # endif
|