mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
18 lines
357 B
C++
18 lines
357 B
C++
// Copyright Benoit Blanchon 2014
|
|
// MIT License
|
|
//
|
|
// Arduino JSON library
|
|
// https://github.com/bblanchon/ArduinoJson
|
|
|
|
#ifdef ARDUINO
|
|
|
|
// Declares the placement new as in <new>.
|
|
// This is required for Arduino IDE because it doesn't include the <new> header.
|
|
inline void *operator new(size_t, void *p) throw() { return p; }
|
|
|
|
#else
|
|
|
|
#include <new>
|
|
|
|
#endif
|