зеркало из https://github.com/mozilla/pjs.git
Bug 732764 - gfx/angle/src/compiler/Types.h:211: error: 'abort' was not declared in this scope. r=bjacob
This commit is contained in:
Родитель
1e35bf29b9
Коммит
85e846c5ea
|
@ -26,7 +26,25 @@ diff --git a/gfx/angle/README.mozilla b/gfx/angle/README.mozilla
|
||||||
diff --git a/gfx/angle/src/compiler/Types.h b/gfx/angle/src/compiler/Types.h
|
diff --git a/gfx/angle/src/compiler/Types.h b/gfx/angle/src/compiler/Types.h
|
||||||
--- a/gfx/angle/src/compiler/Types.h
|
--- a/gfx/angle/src/compiler/Types.h
|
||||||
+++ b/gfx/angle/src/compiler/Types.h
|
+++ b/gfx/angle/src/compiler/Types.h
|
||||||
@@ -203,17 +203,17 @@ public:
|
@@ -5,16 +5,17 @@
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef _TYPES_INCLUDED
|
||||||
|
#define _TYPES_INCLUDED
|
||||||
|
|
||||||
|
#include "compiler/BaseTypes.h"
|
||||||
|
#include "compiler/Common.h"
|
||||||
|
#include "compiler/compilerdebug.h"
|
||||||
|
+#include <cstdlib>
|
||||||
|
|
||||||
|
//
|
||||||
|
// Need to have association of line numbers to types in a list for building structs.
|
||||||
|
//
|
||||||
|
class TType;
|
||||||
|
struct TTypeLine {
|
||||||
|
TType* type;
|
||||||
|
int line;
|
||||||
|
@@ -203,17 +204,17 @@ public:
|
||||||
bool isVector() const { return size > 1 && !matrix; }
|
bool isVector() const { return size > 1 && !matrix; }
|
||||||
bool isScalar() const { return size == 1 && !matrix && !structure; }
|
bool isScalar() const { return size == 1 && !matrix && !structure; }
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "compiler/BaseTypes.h"
|
#include "compiler/BaseTypes.h"
|
||||||
#include "compiler/Common.h"
|
#include "compiler/Common.h"
|
||||||
#include "compiler/compilerdebug.h"
|
#include "compiler/compilerdebug.h"
|
||||||
|
#include <cstdlib>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Need to have association of line numbers to types in a list for building structs.
|
// Need to have association of line numbers to types in a list for building structs.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче