summaryrefslogtreecommitdiff
path: root/stb_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'stb_image.c')
-rw-r--r--stb_image.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/stb_image.c b/stb_image.c
index 8ddfd1f..a839b61 100644
--- a/stb_image.c
+++ b/stb_image.c
@@ -1,2 +1,8 @@
-#define STB_IMAGE_IMPLEMENTATION
-#include "stb_image.h"
+#ifndef TIDY
+# define STB_IMAGE_IMPLEMENTATION
+# pragma GCC diagnostic ignored "-Wsign-compare"
+# ifndef __clang__
+# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+# endif
+# include "stb_image.h"
+#endif