Skip to content

Commit 2197a42

Browse files
committed
Work around Nuvoton #define EMAC
1 parent c39ba00 commit 2197a42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

features/netsocket/EMAC.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
#include "Callback.h"
2222
#include "emac_stack_mem.h"
2323

24+
// Nuvoton platform headers define EMAC - avoid the collision
25+
#undef EMAC
26+
2427
/**
2528
* This interface should be used to abstract low level access to networking hardware
2629
* All operations receive a `void *` hw pointer which an emac device provides when

0 commit comments

Comments
 (0)