Skip to content

Commit

Permalink
Check for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
awawa-dev committed Jul 21, 2024
1 parent df5b640 commit 52da21e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions sources/utils-image/utils-image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@

#include <turbojpeg.h>
#include <lunasvg.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
#include <stb_image_write.h>
#pragma clang diagnostic pop
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#include <stb_image.h>
#include <utils-image/utils-image.h>

Expand Down

0 comments on commit 52da21e

Please sign in to comment.