mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Added detection of MPLAB XC compiler (issue #629)
This commit is contained in:
		| @@ -6,6 +6,7 @@ HEAD | ||||
|  | ||||
| * Added `JsonVariant::operator|` to return a default value (see bellow) | ||||
| * Added a clear error message when compiled as C instead of C++ (issue #629) | ||||
| * Added detection of MPLAB XC compiler (issue #629) | ||||
| * Rewrote example `JsonHttpClient.ino` (issue #600) | ||||
|  | ||||
| > ### How to use the new feature? | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user