Fix librubberband API detection #9948

This commit is contained in:
Robin Gareus
2025-06-13 21:51:49 +02:00
parent 238728ffc1
commit ee8a2fc970

View File

@@ -1182,7 +1182,7 @@ def configure(conf):
define_name= 'HAVE_RUBBERBAND_3_0_0',
fragment = '''
#include <rubberband/RubberBandStretcher.h>
#if RUBBERBAND_API_MAJOR_VERSION >= 2 && RUBBERBAND_API_MINOR_VERSION >= 7
#if (RUBBERBAND_API_MAJOR_VERSION >= 2 && RUBBERBAND_API_MINOR_VERSION >= 7) || RUBBERBAND_API_MAJOR_VERSION >= 3
int main () { return 0; }
#else
#error