From 500e0f51ab136765dde8be37700062f69b7babcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Tue, 19 Dec 2017 13:54:01 +0000 Subject: patches/smallbasic.local.patch:SmallBASIC/src/platform/console/main.c: fix __GLIBC__ check. --- patches/smallbasic.local.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/patches/smallbasic.local.patch b/patches/smallbasic.local.patch index e92e5b02..f0779374 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) { -- cgit v1.2.3