From e1070c3b3c3897e886a2e4168221c0f40534a777 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 24 Apr 2012 18:17:48 +0000 Subject: [PATCH] debug: do not use std::abort() on the PS3. --- src/lol/debug.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lol/debug.h b/src/lol/debug.h index 05a25b17..f3700ae4 100644 --- a/src/lol/debug.h +++ b/src/lol/debug.h @@ -23,7 +23,11 @@ namespace lol static inline void Abort() { +#if defined __CELLOS_LV2__ + *(uint32_t *)NULL = 0; +#else std::abort(); +#endif } } /* namespace lol */