Fix polyfill for really old libbladerf-dev which doesn't provide an API version define
This commit is contained in:
parent
4edb2e8e35
commit
18d47fd5ff
|
@ -24,7 +24,7 @@
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
// Polyfill for the older bladerf API
|
// Polyfill for the older bladerf API
|
||||||
#if defined(LIBBLADERF_API_VERSION) && (LIBBLADERF_API_VERSION < 0x02000000)
|
#if !defined(LIBBLADERF_API_VERSION) || (LIBBLADERF_API_VERSION < 0x02000000)
|
||||||
typedef unsigned int bladerf_frequency;
|
typedef unsigned int bladerf_frequency;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue