Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Unified Diff: src/ports/SkOSFile_stdio.cpp

Issue 2152273002: Add support for Fuchsia (Closed) Base URL: https://fuchsia.googlesource.com/third_party/skia@master
Patch Set: Stay a component Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« BUILD.gn ('K') | « include/core/SkPreConfig.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkOSFile_stdio.cpp
diff --git a/src/ports/SkOSFile_stdio.cpp b/src/ports/SkOSFile_stdio.cpp
index 915b87b67bdc43cc4e3b8f5aae3166d59868b25e..d5ebd2ce5f0e1b38a45f3a7a3d30ba247ac74b58 100644
--- a/src/ports/SkOSFile_stdio.cpp
+++ b/src/ports/SkOSFile_stdio.cpp
@@ -145,7 +145,7 @@ void sk_fflush(FILE* f) {
void sk_fsync(FILE* f) {
#if !defined(_WIN32) && !defined(SK_BUILD_FOR_ANDROID) && !defined(__UCLIBC__) \
- && !defined(_NEWLIB_VERSION)
+ && !defined(_NEWLIB_VERSION) && !defined(__Fuchsia__)
int fd = fileno(f);
fsync(fd);
#endif
« BUILD.gn ('K') | « include/core/SkPreConfig.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698