From b222c25435711a0f46e275627ff010833e50904d Mon Sep 17 00:00:00 2001 From: Kevin Bracey Date: Tue, 16 Jan 2018 13:05:55 +0200 Subject: [PATCH] Work around Nuvoton #define EMAC --- features/netsocket/EMAC.h | 3 +++ 1 file changed, 3 insertions(+) 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