]> code.delx.au - gnu-emacs/blobdiff - src/w32xfns.c
* src/macfont.m (mac_font_shape): Make sure that total_advance is increasing.
[gnu-emacs] / src / w32xfns.c
index 9b633c4c56af86581c194f97fd0135ad6a340267..b5b22c9aa5207435d509e2219031a4b7c634ca0f 100644 (file)
@@ -48,6 +48,7 @@ init_crit (void)
      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.  */
@@ -60,6 +61,7 @@ init_crit (void)
     }
   else
     DebPrint(("Out of memory: can't initialize notifications sets."));
+#endif
 
 #ifdef WINDOWSNT
   keyboard_handle = input_available;
@@ -90,6 +92,7 @@ delete_crit (void)
       interrupt_handle = NULL;
     }
 
+#if HAVE_W32NOTIFY
   if (notifications_set_head)
     {
       /* Free any remaining notifications set that could be left over.  */
@@ -104,6 +107,7 @@ delete_crit (void)
        }
     }
   free (notifications_set_head);
+#endif
 }
 
 void