diff --git a/features/netsocket/EMAC.h b/features/netsocket/EMAC.h index c7ff6c0f21..25f4caf710 100644 --- a/features/netsocket/EMAC.h +++ b/features/netsocket/EMAC.h @@ -21,6 +21,9 @@ #include "Callback.h" #include "emac_stack_mem.h" +// Nuvoton platform headers define EMAC - avoid the collision +#undef EMAC + /** * This interface should be used to abstract low level access to networking hardware * All operations receive a `void *` hw pointer which an emac device provides when