aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desiredata/src/s_inter.c3
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