diff options
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/amigaos/amigaos-main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/sdl/amigaos/amigaos-main.cpp b/backends/platform/sdl/amigaos/amigaos-main.cpp index 0743b3f9a0..65da6bbf85 100644 --- a/backends/platform/sdl/amigaos/amigaos-main.cpp +++ b/backends/platform/sdl/amigaos/amigaos-main.cpp @@ -30,6 +30,9 @@ int main(int argc, char *argv[]) { + // Set up a stack cookie to avoid crashes due to too few stack set by users + static const char *stack_cookie __attribute__((used)) = "$STACK: 600000"; + // Create our OSystem instance g_system = new OSystem_AmigaOS(); assert(g_system); |