0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

stream_cdda: suppress Wundef warning

This commit is contained in:
Kacper Michajłow 2024-06-04 22:18:27 +02:00
parent fc0d0f10eb
commit 2e19420756

View File

@ -26,6 +26,10 @@
// For cdio_cddap_version
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
#ifndef TESTING_IS_FINISHED
// Suppress Wundef warning
#define TESTING_IS_FINISHED 0
#endif
#include <cdio/paranoia/cdda.h>
#include <cdio/paranoia/paranoia.h>
#pragma GCC diagnostic pop