Apparently the recent ver 1.8.2 of the Arduino IDE is confusing the “Time” and the “time” libraries. This was not a problem when I previously used ver 1.6.7.
Under 1.8.2 the compiler is finding <Time.h> referenced in the .ino file #include statement OK, as evidenced by no complaints about it. But it DOES complain about not finding many #define macros which upon investigation were correctly listed in the file.
Apparently the compiler found the time.h and time.cpp files first, instead of the Time.h ad Time.h files and called that “good enough”, but of course the content was not correct.
I renamed Time.h to Time2.h, and Time.cpp to Time2.cpp and edited all files where necessary to take this into account. Then it compiled fine under either the old or the new version of the IDE.
If you Google “Arduino Time library problem” you will see lots of similar errors related to these libraries.
Hard to believe that just changing the case of one of the letters in one library’s name is not sufficient to prevent an error like this! Is there another way to explain it?