Skip to content

Commit

Permalink
the correct m_realloc
Browse files Browse the repository at this point in the history
  • Loading branch information
bwhitman committed Jun 8, 2024
1 parent 3bd2de6 commit 9c3afa2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tulip/linux/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@
#endif


#ifdef MICROPY_MALLOC_USES_ALLOCATED_SIZE
#undef MICROPY_MALLOC_USES_ALLOCATED_SIZE
#define MICROPY_MALLOC_USES_ALLOCATED_SIZE (0)
#undef MICROPY_MEM_STATS
#define MICROPY_MEM_STATS (0)
#endif

// If enabled, configure how to seed random on init.
#ifdef MICROPY_PY_RANDOM_SEED_INIT_FUNC
#include <stddef.h>
Expand Down

0 comments on commit 9c3afa2

Please sign in to comment.