Bug 732764 - gfx/angle/src/compiler/Types.h:211: error: 'abort' was not declared in this scope. r=bjacob

This commit is contained in:
Oleg Romashin 2012-03-04 20:50:44 -05:00
Родитель da3e9b4fca
Коммит 1be319b666
2 изменённых файлов: 20 добавлений и 1 удалений

Просмотреть файл

@ -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
--- a/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 isScalar() const { return size == 1 && !matrix && !structure; }

Просмотреть файл

@ -10,6 +10,7 @@
#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.