From d891452a73165966497f1c79b64276faaa664597 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 27 Feb 2015 09:54:12 +0000 Subject: py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API. --- windows/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'windows') diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 9103d08f1..4ae0bbfb1 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -39,6 +39,7 @@ #define MICROPY_ENABLE_GC (1) #define MICROPY_ENABLE_FINALISER (1) #define MICROPY_STACK_CHECK (1) +#define MICROPY_MALLOC_USES_ALLOCATED_SIZE (1) #define MICROPY_MEM_STATS (1) #define MICROPY_DEBUG_PRINTERS (1) #define MICROPY_HELPER_REPL (1) -- cgit v1.2.3