src/stdlib/SDL_malloc.c
changeset 11489 438be648de4c
parent 10737 3406a0f8b041
child 11601 22fe56a64c6f
     1.1 --- a/src/stdlib/SDL_malloc.c	Sun Sep 10 10:30:25 2017 -0700
     1.2 +++ b/src/stdlib/SDL_malloc.c	Sun Sep 10 10:43:04 2017 -0700
     1.3 @@ -2946,13 +2946,17 @@
     1.4  internal_malloc_stats(mstate m)
     1.5  {
     1.6      if (!PREACTION(m)) {
     1.7 +#ifndef LACKS_STDIO_H
     1.8          size_t maxfp = 0;
     1.9 +#endif
    1.10          size_t fp = 0;
    1.11          size_t used = 0;
    1.12          check_malloc_state(m);
    1.13          if (is_initialized(m)) {
    1.14              msegmentptr s = &m->seg;
    1.15 +#ifndef LACKS_STDIO_H
    1.16              maxfp = m->max_footprint;
    1.17 +#endif
    1.18              fp = m->footprint;
    1.19              used = fp - (m->topsize + TOP_FOOT_SIZE);
    1.20