From: <tj...@us...> - 2008-12-09 00:07:35
|
Revision: 11278 http://alleg.svn.sourceforge.net/alleg/?rev=11278&view=rev Author: tjaden Date: 2008-12-09 00:07:30 +0000 (Tue, 09 Dec 2008) Log Message: ----------- Colin Ward made TRACE log to a RAM disk file on Amiga to avoid clutter. Modified Paths: -------------- allegro/branches/4.3.10plus/src/allegro.c Modified: allegro/branches/4.3.10plus/src/allegro.c =================================================================== --- allegro/branches/4.3.10plus/src/allegro.c 2008-12-08 23:21:55 UTC (rev 11277) +++ allegro/branches/4.3.10plus/src/allegro.c 2008-12-09 00:07:30 UTC (rev 11278) @@ -29,6 +29,11 @@ #define PREFIX_W "al-main WARNING: " #define PREFIX_E "al-main ERROR: " +#ifdef ALLEGRO_AMIGA + #define LOGFILE "RAM:allegro.log" +#else + #define LOGFILE "allegro.log" +#endif /* in case you want to report version numbers */ @@ -640,7 +645,7 @@ if (s) trace_file = fopen(s, "w"); else - trace_file = fopen("allegro.log", "w"); + trace_file = fopen(LOGFILE, "w"); if (debug_assert_virgin) _add_exit_func(debug_exit, "debug_exit"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |