HAMLIB patch for updated define

This commit is contained in:
Charles J. Cliffe 2021-06-02 22:41:50 -04:00
parent d0b4bf694b
commit 7826006c14

View File

@ -8,6 +8,10 @@
#include <hamlib/rig.h> #include <hamlib/rig.h>
#include <hamlib/riglist.h> #include <hamlib/riglist.h>
#ifndef FILPATHLEN
#define FILPATHLEN HAMLIB_FILPATHLEN
#endif
struct rigGreater struct rigGreater
{ {
bool operator()( const struct rig_caps *lx, const struct rig_caps *rx ) const { bool operator()( const struct rig_caps *lx, const struct rig_caps *rx ) const {
@ -64,4 +68,4 @@ private:
std::atomic_bool errorState; std::atomic_bool errorState;
std::string errorMessage; std::string errorMessage;
static RigList rigCaps; static RigList rigCaps;
}; };