diff options
author | N.N. <matju@users.sourceforge.net> | 2009-05-26 06:42:53 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-05-26 06:42:53 +0000 |
commit | 010261b639e50748b720e5d3c0f2c8a177326516 (patch) | |
tree | f8ddb0217d240883f72981eaa45048284a46ef83 /desiredata/src | |
parent | 50055780544d58160e97ecd0068aac4f171b8d73 (diff) |
remove warning
svn path=/trunk/; revision=11511
Diffstat (limited to 'desiredata/src')
-rw-r--r-- | desiredata/src/s_inter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desiredata/src/s_inter.c b/desiredata/src/s_inter.c index f0e41524..73635fc8 100644 --- a/desiredata/src/s_inter.c +++ b/desiredata/src/s_inter.c @@ -683,6 +683,7 @@ static pthread_cond_t watchdog_cond = PTHREAD_COND_INITIALIZER; static void *watchdog_thread(void *); /* start a high priority watchdog thread */ +#ifndef MSW static int sys_start_watchdog_thread() { pthread_attr_t w_attr; main_pd_thread = pthread_self(); @@ -691,7 +692,7 @@ static int sys_start_watchdog_thread() { int status = pthread_create(&watchdog_id, &w_attr, (void*(*)(void*)) watchdog_thread, NULL); return status; /* what is this function supposed to return anyway? it tried returning void though declared as int */ } - +#endif #ifdef MSW int gettimeofday (struct timeval *tv, void *tz); #endif |