adafruit/RTClib — pull request #14 by dataman (2012-06-20 05:48:08+00:00)
Title: I think there's a simplification to RTCLib

I know it's a bit kludgey, but I think there's a really good simplification for RTCLib.CPP. A little bit of define and undef magic should be all it takes to make the code compatible with PRE and POST Arduino 1.0. It took me two attempts to get it right.

Charley Jones, PMP
Dataman in Las Vegas