medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 203c3a1fdf83a066391c7047186ff4a4e1c863d3
parent ae8065dee3c36406ef44c6c0be522cb331b68693
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Nov 13 22:17:25 +0200

autogdb in pp

Diffstat:
pp.cc | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/pp.cc b/pp.cc @@ -154,7 +154,16 @@ static void write_tile( } static u8 arena_memory[ megabytes( 16 ) ]; + +#if PLATFORM_LINUX +#include "autogdb.h" +#endif + int main( int argc, char ** argv ) { +#if PLATFORM_LINUX + install_debug_signal_handlers( true ); +#endif + MemoryArena arena; memarena_init( &arena, arena_memory, ARRAY_COUNT( arena_memory ) );