From 74fb31d20bc73e14b9881dc1c580182e03541b00 Mon Sep 17 00:00:00 2001 From: Dana Dahlstrom Date: Fri, 3 May 2024 03:00:00 -0700 Subject: [PATCH] Don't use stdio in Starboard --- third_party/libpng/pnglibconf.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/third_party/libpng/pnglibconf.h b/third_party/libpng/pnglibconf.h index 505777dd16c0..9c83c751bc17 100644 --- a/third_party/libpng/pnglibconf.h +++ b/third_party/libpng/pnglibconf.h @@ -85,9 +85,13 @@ #define PNG_SIMPLIFIED_READ_SUPPORTED #define PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED #define PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED +#if !defined(STARBOARD) #define PNG_SIMPLIFIED_WRITE_STDIO_SUPPORTED +#endif // !defined(STARBOARD) #define PNG_SIMPLIFIED_WRITE_SUPPORTED +#if !defined(STARBOARD) #define PNG_STDIO_SUPPORTED +#endif // !defined(STARBOARD) #define PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED #define PNG_TEXT_SUPPORTED #define PNG_UNKNOWN_CHUNKS_SUPPORTED