changes to get the tests building again on the mac

git-svn-id: svn://10.0.0.236/trunk@86709 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rginda%netscape.com 2001-02-09 23:31:11 +00:00
parent 8e3640be69
commit c2871dd95c
4 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -34,6 +34,10 @@
#include "utilities.h"
#ifdef DEBUG
# include <cstdio>
# ifdef XP_MAC
# include <cstdarg>
# include <Types.h>
# endif
# ifdef WIN32
# include <stdlib.h>
# include <windows.h>
@ -97,6 +101,7 @@ namespace JavaScript
void
Assert(const char *s, const char *file, int line)
{
#if defined(XP_UNIX) || defined(XP_OS2)
fprintf(std::stderr, "Assertion failure: %s, at %s:%d\n", s, file, line);
#endif

Binary file not shown.