diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2017-03-08 13:30:33 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2017-03-08 13:34:17 +0100 |
commit | 1138485b6de8c311a43790fe9e9f7bfdf8e27d79 (patch) | |
tree | e4cad82b9f45803992942f1bd68008f4a2890333 /cores | |
parent | 7486021e9326d5f592812a877a4d1fb2accbce47 (diff) |
AVR: Prevent warnings if BIN is previously defined
Fix #4784
Close #4791
Diffstat (limited to 'cores')
-rw-r--r-- | cores/arduino/Print.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cores/arduino/Print.h b/cores/arduino/Print.h index 7b53aa4..d099a3b 100644 --- a/cores/arduino/Print.h +++ b/cores/arduino/Print.h @@ -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 |