Ensure that all GNU-based systems are considered to be UNIX
authorgeorge@mozilla.com <george@mozilla.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 25 Jul 2012 18:52:56 +0000 (18:52 +0000)
committergeorge@mozilla.com <george@mozilla.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 25 Jul 2012 18:52:56 +0000 (18:52 +0000)
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

include/core/SkPreConfig.h

index 2f298860cdc030215b65d4cdfc58fbb0c12ef814..bbf0124117b5ea570a29fa331a7cb955c4d613ff 100644 (file)
@@ -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