forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ANGLE build on Android (don't bother with OS detection with NSPR)…
…; bustage fix; a=b
- Loading branch information
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters