Browse files

Merge pull request #72 from probonopd/patch-1

Make AVR independent; tested on ESP8266
  • Loading branch information...
2 parents ae3d01b + 7e86256 commit ec56354313ad8a20b55181aab142eb1c4b38e78a @interactive-matter committed Aug 12, 2015
Showing with 4 additions and 1 deletion.
  1. +4 −1 aJSON.cpp
View
5 aJSON.cpp
@@ -36,8 +36,11 @@
#include <stdlib.h>
#include <float.h>
#include <ctype.h>
+#ifdef __AVR__
#include <avr/pgmspace.h>
-
+#else
+#include <pgmspace.h>
+#endif
#include "aJSON.h"
#include "utility/stringbuffer.h"

0 comments on commit ec56354

Please sign in to comment.