Skip to content

Commit

Permalink
Fixed building with Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 28, 2018
1 parent 51a7b35 commit 00c0ab7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IMG_png.c
Expand Up @@ -611,6 +611,8 @@ static int IMG_SavePNG_RW_libpng(SDL_Surface *surface, SDL_RWops *dst, int freed
#define MINIZ_NO_TIME
#define MINIZ_SDL_MALLOC
#define MZ_ASSERT(x) SDL_assert(x)
#undef memcpy
#define memcpy SDL_memcpy
#undef memset
#define memset SDL_memset
#define strlen SDL_strlen
Expand Down

0 comments on commit 00c0ab7

Please sign in to comment.