aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-25 18:41:26 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-25 18:41:26 +0000
commitfc573abd5c683d5877eebed753b0e80b55e51ce5 (patch)
tree688362b335ae1c28e57debce6cd0483ffbc5e5ae /src/core
parent1a6880597e88ecb81e19df26fed8fb63f42cb627 (diff)
don't try to access filedescriptors on windows
git-svn-id: http://skia.googlecode.com/svn/trunk@7847 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkFDStream.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkFDStream.cpp b/src/core/SkFDStream.cpp
index d38813c54d..131bb39989 100644
--- a/src/core/SkFDStream.cpp
+++ b/src/core/SkFDStream.cpp
@@ -8,6 +8,8 @@
#include "SkStream.h"
#include <unistd.h>
+#ifndef SK_BUILD_FOR_WIN
+
//#define TRACE_FDSTREAM
SkFDStream::SkFDStream(int fileDesc, bool closeWhenDone)
@@ -89,3 +91,5 @@ size_t SkFDStream::read(void* buffer, size_t size) {
}
return 0;
}
+
+#endif