summaryrefslogtreecommitdiff
path: root/protocol/usb_hid.mk
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-09-04 13:29:21 +0900
committertmk <nobody@nowhere>2012-09-04 13:29:21 +0900
commit232ab308e358e41f3253d66fa009c1ebca0951a2 (patch)
tree737827112555c00a7f2ebbb88e61079c460be71a /protocol/usb_hid.mk
parentc77c5043a121f195b3a552feb8283424a0652ce2 (diff)
usb_hid: workaround for compile on Windows.
Diffstat (limited to 'protocol/usb_hid.mk')
-rw-r--r--protocol/usb_hid.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocol/usb_hid.mk b/protocol/usb_hid.mk
index f3149f7f4b..fb4916d562 100644
--- a/protocol/usb_hid.mk
+++ b/protocol/usb_hid.mk
@@ -65,3 +65,9 @@ VPATH += $(TOP_DIR)/$(ARDUINO_CORES_DIR)
# for #include "pins_arduino.h"
VPATH += $(TOP_DIR)/$(ARDUINO_DIR)/variants/leonardo
+
+# ad hoc workaround for compile problem on Windows:
+# Windows doesn't know difference between common/print.h and arduino/Print.h.
+# On Linux no problem.
+# Change file name common/print.h to console.h ?
+VPATH := $(TOP_DIR)/common $(VPATH)