chipKIT32/chipKIT32-MAX — Issue #139: Libraries that support Arduino.h need to have ARDUINO defined
Author: ricklon
Created: 2011-10-15 17:36:51+00:00
State: open
Labels: libraries

In Arduino 1.0 Wprogram.h was replaces by Arduino.h. The following code checks for it:
c````

#if (ARDUINO >= 100)
#include
#else
#include
#endif
````

ARDUINO is not defined