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:
parent
24a952c4cd
commit
8d4b56b3f5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user