changes to get the tests building again on the mac

This commit is contained in:
rginda%netscape.com 2001-02-09 23:31:11 +00:00
parent da8b0e151c
commit 628e5ebabd
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.

Binary file not shown.