issues
search
pubnub
/
arduino
The Official PubNub Arduino-based API!
Other
103
stars
49
forks
source link
Make AVR specific code conditional
#2
Closed
robertinant
closed
9 years ago
robertinant
commented
9 years ago
This patch check for the AVR defined symbol __AVR and conditionally includes avr/pgmspace.h depending on it.
A define for strncasecmp_P set to strncasecmp was added for non-avr platforms to take care of the missing function.