updates.
[silc.git] / lib / silcutil / win32 / silcwin32schedule.c
index cd6327c74b0e25849097fee378efce9426d83296..e4a02a54c0e39cce405c4632eeab9fa5d9bd475a 100644 (file)
@@ -166,6 +166,8 @@ int silc_select(int n, fd_set *readfds, fd_set *writefds,
   return -1;
 }
 
+#ifdef SILC_THREADS
+
 /* Internal wakeup context. */
 typedef struct {
   HANDLE wakeup_sema;
@@ -188,7 +190,6 @@ SILC_TASK_CALLBACK(silc_schedule_wakeup_cb)
 
 void *silc_schedule_wakeup_init(void *queue)
 {
-#ifdef SILC_THREADS
   SilcWin32Wakeup wakeup;
 
   wakeup = silc_calloc(1, sizeof(*wakeup));