From 42f80deab68cfbb3362c283b349b094f78a6c51d Mon Sep 17 00:00:00 2001 From: ivanseidel Date: Wed, 8 Apr 2015 01:30:57 -0300 Subject: [PATCH] Now compatible with Old Arduinos and ChipKit32 --- Thread.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Thread.h b/Thread.h index 1bd457a..b4ce55b 100644 --- a/Thread.h +++ b/Thread.h @@ -14,7 +14,12 @@ #ifndef Thread_h #define Thread_h -#include +#if defined(ARDUINO) && ARDUINO >= 100 + #include +#else + #include +#endif + #include /*