build: convert vorbis detection to new macros.
[paraslash.git] / afh_common.c
index edfc8d1d08e79f333afce711aa814a374c8f1faf..f77880ba83a16527b671d76d5137b1bd801a9a70 100644 (file)
@@ -42,7 +42,7 @@ static struct audio_format_handler afl[] = {
        },
        {
                .name = "ogg",
-#ifdef HAVE_OGGVORBIS
+#if defined(HAVE_OGG) && defined(HAVE_VORBIS)
                .init = ogg_init,
 #endif
        },