Reenable compiling with no sound.
authorDavid Griffith <dave@661.org>
Wed, 19 Jun 2019 07:38:50 +0000 (00:38 -0700)
committerDavid Griffith <dave@661.org>
Wed, 19 Jun 2019 07:38:50 +0000 (00:38 -0700)
src/curses/ux_input.c

index f23d264c10e82da59e7b8d7d11c9d9928d772b82..d9a5ab2860067567f72285cc6a5def9a21eb1c12 100644 (file)
@@ -151,8 +151,10 @@ void os_tick()
         unix_resize_display();
     }
 
+#ifndef NO_SOUND
     if (sem_trywait(&sound_done) == 0)
        end_of_sound();
+#endif
 }