зеркало из https://github.com/mozilla/gecko-dev.git
fix ANGLE build on Android (don't bother with OS detection with NSPR); bustage fix; a=b
This commit is contained in:
Родитель
ad540d7188
Коммит
f37460a48d
|
@ -7,6 +7,8 @@ Local patches:
|
|||
|
||||
angle-fixes.patch - fix angle issues 51 & 52
|
||||
|
||||
angle-nspr-misc.patch - don't bother with ANGLE_OS detection with NSPR
|
||||
|
||||
== Visual Studio Solution Files ==
|
||||
|
||||
The VS solution/project files that are used to build ANGLE are built
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# HG changeset patch
|
||||
# Parent f0e6e4c311dd940147f1589d72cc87f8ce755697
|
||||
diff --git a/gfx/angle/src/compiler/osinclude.h b/gfx/angle/src/compiler/osinclude.h
|
||||
--- a/gfx/angle/src/compiler/osinclude.h
|
||||
+++ b/gfx/angle/src/compiler/osinclude.h
|
||||
@@ -12,8 +12,10 @@
|
||||
// declares any os-specific functions.
|
||||
//
|
||||
|
||||
-#if defined(_WIN32) || defined(_WIN64)
|
||||
+#if defined(ANGLE_USE_NSPR)
|
||||
+/* no need to define anything when using NSPR */
|
||||
+#elif defined(_WIN32) || defined(_WIN64)
|
||||
#define ANGLE_OS_WIN
|
||||
#elif defined(__APPLE__) || defined(__linux__) || \
|
||||
defined(__FreeBSD__) || defined(__OpenBSD__) || \
|
||||
defined(__sun)
|
|
@ -12,7 +12,9 @@
|
|||
// declares any os-specific functions.
|
||||
//
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#if defined(ANGLE_USE_NSPR)
|
||||
/* no need to define anything when using NSPR */
|
||||
#elif defined(_WIN32) || defined(_WIN64)
|
||||
#define ANGLE_OS_WIN
|
||||
#elif defined(__APPLE__) || defined(__linux__) || \
|
||||
defined(__FreeBSD__) || defined(__OpenBSD__) || \
|
||||
|
|
Загрузка…
Ссылка в новой задаче