From 500e0f51ab136765dde8be37700062f69b7babcf Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Dec 19 2017 14:16:07 +0000 Subject: patches/smallbasic.local.patch:SmallBASIC/src/platform/console/main.c: fix __GLIBC__ check. --- diff --git a/patches/smallbasic.local.patch b/patches/smallbasic.local.patch index e92e5b0..f077937 100644 --- a/patches/smallbasic.local.patch +++ b/patches/smallbasic.local.patch @@ -9,3 +9,14 @@ fi } +--- SmallBASIC/src/platform/console/main.c.orig 2017-12-19 08:54:21.692000000 +0000 ++++ SmallBASIC/src/platform/console/main.c 2017-12-19 13:53:21.540000000 +0000 +@@ -253,7 +253,7 @@ + return 1; + } + +-#if defined(__GNUC__) ++#if defined(__GLIBC__) + // for analysing excessive malloc calls using kdbg + extern void *__libc_malloc(size_t size); + void* malloc (size_t size) {