AVR: Prevent warnings if BIN is previously defined

Fix #4784
Close #4791
This commit is contained in:
Cristian Maglie 2017-03-08 13:30:33 +01:00
parent 7486021e93
commit 1138485b6d
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@
#define DEC 10
#define HEX 16
#define OCT 8
#ifdef BIN // Prevent warnings if BIN is previously defined in "iotnx4.h" or similar
#undef BIN
#endif
#define BIN 2
class Print