Skip to content

Commit

Permalink
define USING_OSX_FIREWIRE: silence -Wundef
Browse files Browse the repository at this point in the history
  • Loading branch information
ulmus-scott authored and bennettpeter committed Nov 24, 2022
1 parent c1a4e55 commit 7c71277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/recorders/firewirechannel.cpp
Expand Up @@ -11,7 +11,7 @@
#include "libmythbase/mythlogging.h"
#include "tv_rec.h"
#include "linuxfirewiredevice.h"
#if USING_OSX_FIREWIRE
#ifdef USING_OSX_FIREWIRE
#include "darwinfirewiredevice.h"
#endif
#include "firewirechannel.h"
Expand Down
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/recorders/firewiredevice.cpp
Expand Up @@ -16,7 +16,7 @@
#include "libmythbase/mythlogging.h"

#include "linuxfirewiredevice.h"
#if USING_OSX_FIREWIRE
#ifdef USING_OSX_FIREWIRE
#include "darwinfirewiredevice.h"
#endif
#include "mpeg/mpegtables.h"
Expand Down Expand Up @@ -366,7 +366,7 @@ std::vector<AVCInfo> FirewireDevice::GetSTBList(void)

#ifdef USING_LINUX_FIREWIRE
list = LinuxFirewireDevice::GetSTBList();
#elif USING_OSX_FIREWIRE
#elif defined(USING_OSX_FIREWIRE)
list = DarwinFirewireDevice::GetSTBList();
#endif

Expand Down

0 comments on commit 7c71277

Please sign in to comment.