Added detection of MPLAB XC compiler (issue #629)

This commit is contained in:
Benoit Blanchon
2017-12-05 21:18:21 +01:00
parent d10277df31
commit cf2babc598
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
// Small or big machine?
#ifndef ARDUINOJSON_EMBEDDED_MODE
#if defined(ARDUINO) || defined(__IAR_SYSTEMS_ICC__)
#if defined(ARDUINO) || defined(__IAR_SYSTEMS_ICC__) || defined(__XC)
#define ARDUINOJSON_EMBEDDED_MODE 1
#else
#define ARDUINOJSON_EMBEDDED_MODE 0