From 232ab308e358e41f3253d66fa009c1ebca0951a2 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 4 Sep 2012 13:29:21 +0900 Subject: usb_hid: workaround for compile on Windows. --- protocol/usb_hid.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocol/usb_hid.mk') 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) -- cgit v1.2.3