diff --git a/bacnet-stack/ports/bdk-atxx4-mstp/iar2gcc.h b/bacnet-stack/ports/bdk-atxx4-mstp/iar2gcc.h index 756eaac1..0e49077f 100644 --- a/bacnet-stack/ports/bdk-atxx4-mstp/iar2gcc.h +++ b/bacnet-stack/ports/bdk-atxx4-mstp/iar2gcc.h @@ -268,9 +268,13 @@ typedef struct { #if ((__GNUC__ < 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ < 3)) || \ ((__GNUC__ == 4) && (__GNUC_MINOR__ == 3) && (__GNUC_PATCHLEVEL__ <= 3))) /* bug in WinAVR - not quite IAR compatible */ +#ifndef __EEPUT #define __EEPUT _EEPUT +#endif +#ifndef __EEGET #define __EEGET _EEGET #endif +#endif #elif defined (__CROSSWORKS_AVR) /* use functions defined in crt0.s to mimic IAR macros */ void __uint8_eeprom_store(