Index: src/device/xps/SkXPSDevice.cpp |
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp |
index 74fda4b3b84c47464c3839db6e42f6f76b733840..43c5c6cee63b6a2d5cf16632c2c53ec92a96e3fb 100644 |
--- a/src/device/xps/SkXPSDevice.cpp |
+++ b/src/device/xps/SkXPSDevice.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "SkTypes.h" |
+#if defined(SK_BUILD_FOR_WIN32) |
#ifndef UNICODE |
#define UNICODE |
@@ -2265,3 +2266,4 @@ SkBaseDevice* SkXPSDevice::onCreateDevice(const CreateInfo& info, const SkPaint* |
return new SkXPSDevice(this->fXpsFactory.get()); |
} |
+#endif//defined(SK_BUILD_FOR_WIN32) |