зеркало из https://github.com/mozilla/gecko-dev.git
Changes to get the lib building in vcc
This commit is contained in:
Родитель
0e10555210
Коммит
31b6ee0ac8
|
@ -32,6 +32,7 @@
|
|||
*/
|
||||
|
||||
#include "world.h"
|
||||
#include "utilities.h"
|
||||
#include "debugger.h"
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -484,7 +484,7 @@ namespace JavaScript
|
|||
// be at the beginning of a line. Call end before destroying the Formatter;
|
||||
// otherwise the last line may not be output to f.
|
||||
PrettyPrinter::PrettyPrinter(Formatter &f, uint32 lineWidth):
|
||||
lineWidth(min(lineWidth, unlimitedLineWidth)),
|
||||
lineWidth(min(lineWidth, static_cast<uint32>(unlimitedLineWidth))),
|
||||
outputFormatter(f),
|
||||
outputPos(0),
|
||||
lineNum(0),
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
#include "stlcfg.h"
|
||||
#include "gc_allocator.h"
|
||||
#include "gc_container.h"
|
||||
|
||||
|
|
|
@ -34,6 +34,11 @@
|
|||
#ifndef utilities_h___
|
||||
#define utilities_h___
|
||||
|
||||
#ifdef MSC_VER
|
||||
// diasble long identifier warnings
|
||||
# pragma warning(disable: 4786)
|
||||
#endif
|
||||
|
||||
#include "systemtypes.h"
|
||||
|
||||
namespace JavaScript
|
||||
|
|
Загрузка…
Ссылка в новой задаче