diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-17 18:54:26 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-17 18:54:26 +0000 |
commit | 43a87590f45aa6e55724d30d0c2d0d34b407a57e (patch) | |
tree | 21ce8e8886f8aa58b159419b7d885f57d9a37580 /stb_image.c | |
parent | Initial commit (diff) | |
download | ilt-43a87590f45aa6e55724d30d0c2d0d34b407a57e.tar.bz2 ilt-43a87590f45aa6e55724d30d0c2d0d34b407a57e.tar.xz ilt-43a87590f45aa6e55724d30d0c2d0d34b407a57e.zip |
First cut modernizing and sanitizing
Diffstat (limited to 'stb_image.c')
-rw-r--r-- | stb_image.c | 10 |
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 |