Index: include/core/SkPreConfig.h |
diff --git a/include/core/SkPreConfig.h b/include/core/SkPreConfig.h |
index 0c720010f74a0a26c65daf1f30744cb0645ada7f..a1a3037b9485002c093f07b869405ef161c677a1 100644 |
--- a/include/core/SkPreConfig.h |
+++ b/include/core/SkPreConfig.h |
@@ -28,9 +28,9 @@ |
#define SK_BUILD_FOR_WIN32 |
#elif defined(ANDROID) |
#define SK_BUILD_FOR_ANDROID |
- #elif defined(linux) || defined(__FreeBSD__) || defined(__OpenBSD__) || \ |
- defined(__sun) || defined(__NetBSD__) || defined(__DragonFly__) || \ |
- defined(__GLIBC__) || defined(__GNU__) |
+ #elif defined(linux) || defined(__linux) || defined(__FreeBSD__) || \ |
+ defined(__OpenBSD__) || 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 |