fix stupid GCC 4.9.3 for ARMHF non-sense;

pull/61/head
Bryan Biedenkapp 2 years ago
parent d702eeae9a
commit 5fde17f879

@ -282,6 +282,13 @@ namespace dmr
#define DMR_DT_VOICE_SYNC "DMR, VOICE_SYNC (Voice Data with Sync)"
#define DMR_DT_VOICE "DMR, VOICE (Voice Data)"
// HACK: make GCC 4.9.3 happy...
#if (__GNUC__ == 4 && (__GNUC_MINOR__ == 9 && __GNUC_PATCHLEVEL__ >= 3)) && __arm__
// because the idiot GCC 4.9.3 compiler on ARMHF has a define for "HUGE" and because we utilize this
// as a enumeration below, lets just ... undefine it because thats smart
#undef HUGE
#endif
/// <summary>
/// Site Models
/// </summary>

Loading…
Cancel
Save

Powered by TurnKey Linux.