FastLED 3.9.7
Loading...
Searching...
No Matches
inplacenew.h
1#pragma once
2
3// This file must not be in the fl namespace, it must be in the global namespace.
4
5#ifdef __AVR__
6inline void* operator new(size_t, void* ptr) noexcept {
7 return ptr;
8}
9#elif __has_include(<new>)
10#include <new>
11#elif __has_include(<new.h>)
12#include <new.h>
13#elif __has_include("new.h")
14#include "new.h"
15#endif
16