Fix compilation on non-windows platforms defining USE_THREADS.
[obnox/wireshark/wip.git] / gtk / prefs_taps.c
index 01813460255847b4d2c3c31fd55f95de2db87504..8f7cc4991db21eedccddb30594ef261ac71dad85 100644 (file)
@@ -124,7 +124,9 @@ stats_prefs_fetch(GtkWidget *w _U_)
 void
 stats_prefs_apply(GtkWidget *w _U_)
 {
+#if defined(_WIN32) || ! defined USE_THREADS
         reset_tap_update_timer();
+#endif
 }
 
 void