diff options
author | Changwoo Ryu <cwryu@debian.org> | 2012-05-21 02:11:00 +0900 |
---|---|---|
committer | Changwoo Ryu <cwryu@debian.org> | 2012-05-21 02:11:00 +0900 |
commit | a295b6147eececb124f785d234602e4e7fd69ca3 (patch) | |
tree | f8a88ddd69a59abbd5adb24a8ca8e154a627f2c2 /Sprinter/SdFile.cpp | |
parent | c17bbb3296e562c48d2f8182c1b0e1669299d0ad (diff) |
Arduino 1.0 build
Diffstat (limited to 'Sprinter/SdFile.cpp')
-rw-r--r-- | Sprinter/SdFile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Sprinter/SdFile.cpp b/Sprinter/SdFile.cpp index 13f4c6a..c847e01 100644 --- a/Sprinter/SdFile.cpp +++ b/Sprinter/SdFile.cpp @@ -19,7 +19,11 @@ */ #include "SdFat.h" #include <avr/pgmspace.h> +#if defined(ARDUINO) && ARDUINO >= 100 +#include <Arduino.h> +#else #include <WProgram.h> +#endif //------------------------------------------------------------------------------ // callback function for date/time void (*SdFile::dateTime_)(uint16_t* date, uint16_t* time) = NULL; |