aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar george@mozilla.com <george@mozilla.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-25 18:52:56 +0000
committerGravatar george@mozilla.com <george@mozilla.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-25 18:52:56 +0000
commit79c865a5c8f585880d48771194c8cd82ab8cda98 (patch)
tree2edf864b342ecec6684c270032ced6d322449f21 /include/core
parent185cd5d05a36fbf5a9f97a5d9733eb376bf88090 (diff)
Ensure that all GNU-based systems are considered to be UNIX
Original Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=749533 R=reed1 BUG= TEST= Review URL: https://codereview.appspot.com/6419057 git-svn-id: http://skia.googlecode.com/svn/trunk@4763 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPreConfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPreConfig.h b/include/core/SkPreConfig.h
index 2f298860cd..bbf0124117 100644
--- a/include/core/SkPreConfig.h
+++ b/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