Don't emit CRLF when generating code on Windows (from SkSL)

Bug: skia:
Change-Id: I3f3c5f9df43e48f975b09f0bafadf03a15afec51
Reviewed-on: https://skia-review.googlesource.com/34745
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
Brian Osman 2017-08-15 14:34:09 -04:00 committed by Skia Commit-Bot
parent 24a952c4cd
commit 8d4b56b3f5

View File

@ -17,7 +17,7 @@ namespace SkSL {
class FileOutputStream : public OutputStream {
public:
FileOutputStream(const char* name) {
fFile = fopen(name, "w");
fFile = fopen(name, "wb");
}
~FileOutputStream() override {