mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
changes to get the tests building again on the mac
This commit is contained in:
parent
da8b0e151c
commit
628e5ebabd
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
js2/tests/cpp/macbuild/parser_test.mcp
Executable file
BIN
js2/tests/cpp/macbuild/parser_test.mcp
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user