diff --git a/deps/ox/src/ox/std/substitutes.cpp b/deps/ox/src/ox/std/substitutes.cpp index 59a7a300..59483218 100644 --- a/deps/ox/src/ox/std/substitutes.cpp +++ b/deps/ox/src/ox/std/substitutes.cpp @@ -8,14 +8,10 @@ #ifndef OX_USE_STDLIB -#include -#include - // weak link panic to ensure that it exists, but allow it to be overriden by // platform specific code -void __attribute__((weak)) panic(const char *msg) { - printf("Unexpected state:\n%s", msg); - std::abort(); +void __attribute__((weak)) panic(const char*) { + while (1); } extern "C" {