summaryrefslogtreecommitdiffstats
path: root/protocol/usb_hid.mk
diff options
context:
space:
mode:
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 f3149f7f4..fb4916d56 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)