* src/w32xfns.c (init_crit, delete_crit) [HAVE_W32NOTIFY]: Only
initialize and free the notification set if compiling with
w32notify feature.
when the input queue is empty, so make it a manual reset event. */
input_available = CreateEvent (NULL, TRUE, FALSE, NULL);
+#if HAVE_W32NOTIFY
/* Initialize the linked list of notifications sets that will be
used to communicate between the watching worker threads and the
main thread. */
}
else
DebPrint(("Out of memory: can't initialize notifications sets."));
+#endif
#ifdef WINDOWSNT
keyboard_handle = input_available;
interrupt_handle = NULL;
}
+#if HAVE_W32NOTIFY
if (notifications_set_head)
{
/* Free any remaining notifications set that could be left over. */
}
}
free (notifications_set_head);
+#endif
}
void