mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 00:38:26 +01:00
20 lines
371 B
C++
20 lines
371 B
C++
// Copyright Benoit Blanchon 2014
|
|
// MIT License
|
|
//
|
|
// Arduino JSON library
|
|
// https://github.com/bblanchon/ArduinoJson
|
|
|
|
#pragma once
|
|
|
|
#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
|