diff options
Diffstat (limited to 'libc/bionic/new.cpp')
-rw-r--r-- | libc/bionic/new.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/new.cpp b/libc/bionic/new.cpp index a0da2fb18..c9ce163f5 100644 --- a/libc/bionic/new.cpp +++ b/libc/bionic/new.cpp @@ -21,7 +21,7 @@ #include <async_safe/log.h> -const std::nothrow_t std::nothrow = {}; +__attribute__((weak)) const std::nothrow_t std::nothrow = {}; void* operator new(std::size_t size) { void* p = malloc(size); |