mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
7a9975ab5a
This is necessary to build libunwind.
9 lines
164 B
Text
9 lines
164 B
Text
#ifndef __CXX_NEW
|
|
#define __CXX_NEW
|
|
|
|
#include <cstddef>
|
|
|
|
inline void* operator new (std::size_t size, void* ptr) noexcept
|
|
{ return ptr; }
|
|
|
|
#endif /* __CXX_NEW */
|