summaryrefslogtreecommitdiffstats
path: root/gfx/skia/patches/archive/0009-Bug-755869-FreeBSD-Hurd.patch
blob: 1e9a93f20a46420f7cd0541e04534f2af683d0d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From df3be24040f7cb2f9c7ed86ad3e47206630e885f Mon Sep 17 00:00:00 2001
From: George Wright <gwright@mozilla.com>
Date: Wed, 23 May 2012 14:49:57 -0400
Subject: [PATCH 09/10]     Bug 755869 - [12] Re-apply bug 749533 - Add
 support for GNU/kFreeBSD and Hurd in Skia.
 r=mattwoodrow

---
 gfx/skia/include/core/SkPreConfig.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gfx/skia/include/core/SkPreConfig.h b/gfx/skia/include/core/SkPreConfig.h
index 46c6929..16c4d6c 100644
--- a/gfx/skia/include/core/SkPreConfig.h
+++ b/gfx/skia/include/core/SkPreConfig.h
@@ -35,7 +35,8 @@
     #elif defined(ANDROID)
         #define SK_BUILD_FOR_ANDROID
     #elif defined(linux) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
-          defined(__sun) || defined(__NetBSD__) || defined(__DragonFly__)
+          defined(__sun) || defined(__NetBSD__) || defined(__DragonFly__) || \
+          defined(__GLIBC__) || defined(__GNU__)
         #define SK_BUILD_FOR_UNIX
     #elif TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
         #define SK_BUILD_FOR_IOS
-- 
1.7.5.4