X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flog.cpp;h=1f6b882e0bce96bfeab2235b49a4208f8fc8b74b;hb=2f2984007c9a7097057cadd683ee399db2c7433e;hp=144eb3bfa3fbe838f8512659014a134f9daa64c9;hpb=2acc4f075932e711cfacd198672f7c99ea4b853e;p=virtualjaguar diff --git a/src/log.cpp b/src/log.cpp index 144eb3b..1f6b882 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -1,11 +1,13 @@ // // Log handler // -// by Cal2 +// Originally by David Raingeard (Cal2) // GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS) // Cleanups/new stuff by James L. Hammons // +#include +#include #include "types.h" #include "log.h" @@ -50,7 +52,7 @@ void WriteLog(const char * text, ...) fflush(log_stream); fclose(log_stream); exit(1); - } + }//*/ va_end(arg); fflush(log_stream); // Make sure that text is written!