don't try to access filedescriptors on windows

git-svn-id: http://skia.googlecode.com/svn/trunk@7847 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-02-25 18:41:26 +00:00
parent 1a6880597e
commit fc573abd5c

View File

@ -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