summaryrefslogtreecommitdiff
path: root/third_party/libpng16/0002-static-png-gt.patch
blob: b2b1d94971b84efdc4e82d76fa0dc5b97a0f102a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/third_party/libpng16/png.c b/third_party/libpng16/png.c
index c183e3f..1cf5271 100644
--- a/third_party/libpng16/png.c
+++ b/third_party/libpng16/png.c
@@ -2464,7 +2464,8 @@ png_colorspace_set_rgb_coefficients(png_structrp png_ptr)
 
 #endif /* COLORSPACE */
 
-#ifdef __GNUC__
+/* #ifdef __GNUC__ */
+#if 1
 /* This exists solely to work round a warning from GNU C. */
 static int /* PRIVATE */
 png_gt(size_t a, size_t b)