Skip to content

Commit

Permalink
spng, configure a little
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Nov 2, 2023
1 parent e48397a commit ad5e908
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/dep/libs/libspng/spng.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
#include <math.h>

#define ZLIB_CONST
#define SPNG_DISABLE_OPT

#ifdef __GNUC__
#if __GNUC__ < 6
#define SPNG_DISABLE_OPT
#endif
#endif

#ifdef __FRAMAC__
#define SPNG_DISABLE_OPT
Expand All @@ -19,7 +24,7 @@
#ifdef SPNG_USE_MINIZ
#include <miniz.h>
#else
#include <zlib.h>
#include "zlib.h"
#endif
#endif

Expand Down

0 comments on commit ad5e908

Please sign in to comment.