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:
parent
1a6880597e
commit
fc573abd5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user