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:
parent
8e3640be69
commit
c2871dd95c
Binary file not shown.
@ -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.
BIN
mozilla/js2/tests/cpp/macbuild/parser_test.mcp
Executable file
BIN
mozilla/js2/tests/cpp/macbuild/parser_test.mcp
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user